Assorted thoughts on zig (and rust)
I've been using zig for ~4 months worth of side projects, including a toy text editor and an interpreter for a relational language. I've written ~10kloc. That's not nearly enough time to form a coherent informed opinion. So instead here is an incoherent assortment of thoughts and experiences, in no particular order :) This is not meant to be an introduction to zig - check out the excellent language docs or the new ziglearn.org instead. I'll try to focus instead on things that are not immediately obvious from reading intro material. The obvious point of comparison is to rust. For context, I've been using rust since 2015. Mostly in research positions writing throwaway code, but also ~14 months working on a commercial database which is ~100kloc. Zig is dramatically simpler than rust. It took a few days before I felt proficient vs a month or more for rust. Most of this difference is not related to lifetimes. Rust has patterns, traits, dyn, modules, declarative macros, procedural macros, de
I've been using zig for ~4 months worth of side projects, including a toy text editor and an interpreter for a relational language . I've written ~10kloc. That's not nearly enough time to form a coherent informed opinion. So instead here is an incoherent assortment of thoughts and experiences, in no particular order :) This is not meant to be an introduction to zig - check out the excellent language docs or the new ziglearn.org instead. I'll try to focus instead on things that are not immediately obvious from reading intro material. The obvious point of comparison is to rust. For context, I've
Explore this link on the map →related reading
- Zig And Rustmatklad.github.io
- Rewriting Bun in Rust | Bun Blogbun.com
- Devlog ⚡ Zig Programming Languageziglang.org
- I think Zig is hard...but worth it - ratfactorratfactor.com
- Zig: Already More Knowable Than C - Andrew Kelleyandrewkelley.me
- A half-hour to learn Rustfasterthanli.me
- Zed — Your last next editorzed.dev
- Rust Language Cheat Sheetcheats.rs
- Zig explores structured concurrency [LWN.net]lwn.net
- 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
- NYSRGnotes.ekzhang.com