1024
A good book can change your life
(lemmy.ml)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rust: it will take 10 months to build the app you want, but it will run super fast.
Zig: it will take 10 days to build the app you want, but it will run super fast.
You get to pick one cult. Which one is it?
Rust: works
Zig: segmentation fault
Also no higher-order functions like map, filter, reduce etc.
Really weird design decision for a brand new language.
Comptime is pretty dope tho, I wish Rust had that instead of relying on macros so much.
So how is Zig different from C or C++, then?
Much nicer than C, much simpler than C++, much less cruft than both.