lelgenio@lemmy.ml to Programmer Humor@lemmy.ml • 8 months agoA good book can change your lifeimagemessage-square11 fedilinkarrow-up1364
arrow-up1364imageA good book can change your lifelelgenio@lemmy.ml to Programmer Humor@lemmy.ml • 8 months agomessage-square11 Commentsfedilink
minus-squareunique_hemp@discuss.tchncs.dehexbear38·edit-28 months agoRust: works Zig: segmentation fault linkfedilink
minus-squarespace_comrade [he/him]hexbear17·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. link
minus-squareCanadaPlus@lemmy.sdf.orghexbear1·8 months agoSo how is Zig different from C or C++, then? linkfedilink
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?