← Back to context

Comment by Measter

2 hours ago

The Rust language has exactly that level of control. Rust's Alloc and STD implementations do not yet provide it.

That's like saying Rust has GC because GC libraries/runtimes can be implemented in/for Rust. Rust recognizes allocations on a language basis, but does not provide the same level of control over allocations on a language basis as Zig does. For instance, there is no stable interface for custom allocators for alloc/std.