2 ms·
I dislike zig for lack of destructors and "no hidden control flow". I'll probably dislike your language too but is there one big thing difference from zig and a
by ArrayBoundCheck 4y ago
I dislike zig for lack of destructors and "no hidden control flow". I'll probably dislike your language too but is there one big thing difference from zig and austral?
- zetalyrae 4y agoThe crucial difference is this[0]: >It is the Zig programmer's responsibility to ensure that a pointer is not accessed when the memory pointed to is no longer available. Note that a slice is a form of pointer, in that it references other memory. Zig is very much a manually-managed language. Austral has manual memory (and resource) management, but has type-system tools to help you ensure correctness. [0]: https://ziglang.org/documentation/master/#Lifetime-and-Ownership https://ziglang.org/documentation/master/#Lifetime-and-Owner...