Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
ptman
4y ago
0 comments
Save
Share
In the language? In the implementation?
0 comments
3 comments · 1 top-level
top
newest
oldest
xyproto
4y ago
· 2 in thread
Both. It can be paused or disabled at runtime.
3a2d29
4y ago
But then presumably if you disable it you have to have no heap allocation at any time in your program, or manually manage buffers. I feel like that's not worth it.
xyproto
4y ago
Sure. But it's not mandatory. And if it's about optimization, pausing the GC for critical regions can be useful, or just pre-allocating memory.
j
/
k
navigate · click thread line to collapse