You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en-US/learn/overview.smd
+6-10Lines changed: 6 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -64,11 +64,6 @@ Speaking of performance, Zig is faster than C.
64
64
- The standard library provides essential data structures such as hash maps and array lists, whereas in C it is tempting to use linked lists for simplicity.
65
65
- Advanced CPU features are enabled by default, unless [cross-compiling](#cross-compiling-is-a-first-class-use-case).
66
66
67
-
Please note that Zig is not a fully safe language. For those interested in following Zig's safety story, subscribe to these issues:
68
-
69
-
- [enumerate all kinds of undefined behavior, even that which cannot be safety-checked](https://github.com/ziglang/zig/issues/1966)
70
-
- [make Debug and ReleaseSafe modes fully safe](https://github.com/ziglang/zig/issues/2301)
71
-
72
67
## Zig competes with C instead of depending on it
73
68
74
69
The Zig Standard Library integrates with libc, but does not depend on it. Here's Hello World:
@@ -127,12 +122,13 @@ Another option is to use if:
127
122
128
123
A library written in Zig is eligible to be used anywhere:
0 commit comments