I think Zig is hard...but worth it - ratfactor
"I learned Zig in a weekend! …Six hours! …6µs!" say the blissful lizards. Followed by something to the effect of, "It’s easy to pick up because the syntax is so simple." That’s a sentiment I’ve seen thrown around a lot since 2016’s announcement, Introduction to the Zig Programming Language (andrewkelly.me). Clearly, many folks really do find Zig easy to learn. Veteran C programmers, in particular, seem to find Zig a natural and logical next step. Kelley’s fun and enlightening talk, The Road to Zig 1.0 (youtube.com), presents Zig as exactly this: "C, but with the problems fixed." And it’s also true that Zig has a relatively small amount of syntax. For some, it is apparently possible to "pick it up" in the span of time it takes to read a single page of documentation (ziglang.org). (Mind you, that "single page" is on the order of 256 printed pages.) The problem, of course, is that there’s not a direct correlation between the slimness of a language’s syntax and ease of learning. If there
"I learned Zig in a weekend! …​Six hours! …​6µs!" say the blissful lizards. Followed by something to the effect of, "It’s easy to pick up because the syntax is so simple." That’s a sentiment I’ve seen thrown around a lot since 2016’s announcement, Introduction to the Zig Programming Language (andrewkelly.me). Clearly, many folks really do find Zig easy to learn. Veteran C programmers, in particular, seem to find Zig a natural and logical next step. Kelley’s fun and enlightening talk, The Road to Zig 1.0 (youtube.com), presents Zig as exactl
Explore this link on the map →related reading
- Assorted thoughts on zig (and rust)scattered-thoughts.net
- Devlog ⚡ Zig Programming Languageziglang.org
- Zig And Rustmatklad.github.io
- Zig: Already More Knowable Than C - Andrew Kelleyandrewkelley.me
- Teach Yourself Programming in Ten Yearsnorvig.com
- Rewriting Bun in Rust | Bun Blogbun.com
- how I think when I think about programming - alice mazalicemaz.com
- NYSRGnotes.ekzhang.com
- In defense of complicated programming languagesviralinstruction.com
- Zig Creator Calls Spade a Spade, Anthropic Blows Smokeraymyers.org
- 0028: HYTRADBOI jam, sqllogictest in a week, how safe is zig again, rr on alder lake, google maps jank, linksscattered-thoughts.net
- Zig explores structured concurrency [LWN.net]lwn.net