3 ms·
Yes, but zig takes it a step further by allowing you to pass a heap allocator into the standard array/vector type. There are discussions about implementing som
by nicoburns 8y ago
Yes, but zig takes it a step further by allowing you to pass a heap allocator into the standard array/vector type.
There are discussions about implementing something similar in Rust, but it doesn't exist yet...
- frutiger 8y agoC++17 allows that too with all the containers in the std::pmr namespace.