@lelgenio@lemmy.ml to Programmer Humor@lemmy.ml • 2 years agoA good book can change your lifelemmy.mlimagemessage-square34fedilinkarrow-up11.07Karrow-down142
arrow-up11.02Karrow-down1imageA good book can change your lifelemmy.ml@lelgenio@lemmy.ml to Programmer Humor@lemmy.ml • 2 years agomessage-square34fedilink
minus-square@unique_hemp@discuss.tchncs.delinkfedilink97•edit-22 years agoRust: works Zig: segmentation fault
minus-squarespace_comrade [he/him]linkfedilinkEnglish20•edit-22 years 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@CanadaPlus@lemmy.sdf.orglinkfedilink3•2 years agoSo how is Zig different from C or C++, then?
minus-square@ledtasso@lemmy.worldlinkfedilink6•2 years agoMuch nicer than C, much simpler than C++, much less cruft than both.
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.