4 ms·
Zig is really interesting, and the explicit allocators is a feature I miss in many other system languages (like Rust). Presentation by the Zig author is a good
by Boulth 8y ago
Zig is really interesting, and the explicit allocators is a feature I miss in many other system languages (like Rust).
Presentation by the Zig author is a good introduction to the concept https://youtu.be/Z4oYSByyRak https://youtu.be/Z4oYSByyRak
- bluejekyll 8y agoCustom allocators are coming in Rust: https://github.com/rust-lang/rfcs/pull/1398 https://github.com/rust-lang/rfcs/pull/1398 While I haven’t had a need for this myself, I believe you can use that feature on nightly today.
- Boulth 8y agoExcellent, thanks for the direct link to RFC!