| ▲ | lstodd 7 hours ago | |||||||
Zig got this right to such a degree that I'm sometimes tempted to export its allocators to C via FFI. Then I sober up a bit and just rewrite it all in zig, all its instability nonwithstanding. | ||||||||
| ▲ | dnautics 7 hours ago | parent [-] | |||||||
<semi-self-promotion> Not only that, since there is a super-standard std allocator api, it makes itself very amenable to memory safety analysis, as long as you don't sneakily implement allocations outside of that api. | ||||||||
| ||||||||