News for hackers. Stuff that matters.
Re:Go is not an easy language by dnautics on Monday February 22, 2021 @10:45AM (#26225798)
I would say Zig is interesting in that "safe things are easy and pretty", "unsafe things are difficult and ugly", thus drawing eyes to the code that needs it. It's four lines of nasty looking code for me to convert a slice of bytes to a slice of (f64/f32/i32)... Which the compiler no-ops. This is dangerous because the alignment and byte count must be correct.

There are no comments on this comment yet.