5 ms·
The compiler part of a language is actually a piece of cake compared to designing a concurrent garbage collector.
by amelius 11mo ago
The compiler part of a language is actually a piece of cake compared to designing a concurrent garbage collector.
- ori_b 11mo agoA good enough one isn't so bad. Here's an example concurrent collector that was used with the Inferno OS: https://github.com/inferno-os/inferno-os/blob/master/libinterp/gc.c https://github.com/inferno-os/inferno-os/blob/master/libinte... There's lots of room to improve it, but it worked well enough to run on telephony equipment in prod.
- almostgotcaught 11mo agoThis has gotta be one of the most dunning-kruger comments on hn
- amelius 11mo agoMaybe I should have formulated it the other way around then.
- cyberax 11mo agoNot really... A true concurrent high-throughput low-latency garbage collector is the stuff of nightmares. Just ask Azul Systems that sells real-time JDK for the high-performance trading applications.
- almostgotcaught 11mo agoLadies and gentlemen dunning-kruger contender #2
- cyberax 11mo ago^ Found a person who hasn't worked on high-througput GCs!
- almostgotcaught 11mo ago^ Found a person who hasn't worked on high-throughout compilers!