Comment by astrange
1 month ago
> Dynamic scope would likely be heavier than what Odin has, since it'd require the language itself to keep track of this
Not necessarily, you can imagine that malloc() itself has an API that says "temporarily switch calls on this thread to a different allocator" and then you undo it later.
No comments yet
Contribute on Hacker News ↗