Hacker News new | ask | show | jobs
by shizzy0 500 days ago
You can in theory turn off gc but in practice no one does this because nearly everything is written with the assumption that allocations will be cleaned up by the gc. The compiler has no switches to help you run in a non-gc’d state. At best you can control when you run the gc.
1 comments

> nearly everything is written with the assumption that allocations will be cleaned up by the gc

zero garbage Java it is relatively common in algorithmic trading

> but in practice no one does this

that's funny, I could swear we do