Re:Zig: a system language which prioritizes optimality, safe...
by steveklabnik on Monday August 29, 2016 @01:04AM
(#12380113)
Nim has a GC.
Myrddin doesn't, but I can't quite remember what it does for safety, if anything. The language spec does say "pointer arithmetic is not allowed."
For Zig, see here: https://news.ycombinator.com/item?id=12380078
But I didn't see anything in Zig similar to Rust's lifetimes. Well it's nice to be rid of that complexity, but I don't see how you are going to do C-like pointer stuff safely without them.
Can anyone explain what these languages (e.g. Zig, Myrddin, Nim) do instead?