@[email protected] to Programmer [email protected] • 8 months agoA good book can change your lifelemmy.mlimagemessage-square33fedilinkarrow-up11.02Karrow-down142
arrow-up1977arrow-down1imageA good book can change your lifelemmy.ml@[email protected] to Programmer [email protected] • 8 months agomessage-square33fedilink
minus-squarespace_comrade [he/him]linkfedilinkEnglish16•edit-28 months agoAlso 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.
minus-square@[email protected]linkfedilink5•8 months agoMuch nicer than C, much simpler than C++, much less cruft than both.
minus-squareBlake Eastmanlinkfedilink1•8 months ago@CanadaPlus @unique_hemp the biggest difference is that they don’t make any memory changes invisibly
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.
@CanadaPlus @unique_hemp the biggest difference is that they don’t make any memory changes invisibly