On 2013-04-08 12:57, Regan Heath wrote:

D should have a set of global allocator hooks.  If it did, you could
easily catch unexpected allocations in tight loops and realtime code.
If it did, GC-free D would be trivial - just replace the default GC
based allocator with a malloc/free one, or any other scheme you like.

You can already do that:

https://github.com/D-Programming-Language/druntime/tree/master/src/gcstub

--
/Jacob Carlborg

Reply via email to