Comment by ycombinatrix
1 month ago
That creates problems when you need to use multiple allocators. IMO allowing an allocator to be specified is a superior design.
1 month ago
That creates problems when you need to use multiple allocators. IMO allowing an allocator to be specified is a superior design.
If you need multiple allocators, and you aren't already using lisp, who cares? Just use lisp. Anyone who can use allocators against the C abi can clearly see the benefits of using a language that can cater to the developer. Zig can never do this, yea even with its shallow macros. Zig will always be a shitty B knockoff rather than something artisans actually want to use