logoalt Hacker News

PKoplast Wednesday at 8:03 PM1 replyview on HN

Basically what Odin does yea?


Replies

btownlast Wednesday at 8:08 PM

Hadn’t known about Odin but yes!

> Operations such as new, free and delete by default will use context.allocator, which can be overridden by the user. When an override happens all called procedures will inherit the new context and use the same allocator.

https://pkg.odin-lang.org/core/mem/