Remix.run Logo
amelius a day ago

The compiler part of a language is actually a piece of cake compared to designing a concurrent garbage collector.

ori_b a day ago | parent | next [-]

A 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/libinte...

There's lots of room to improve it, but it worked well enough to run on telephony equipment in prod.

almostgotcaught a day ago | parent | prev [-]

This has gotta be one of the most dunning-kruger comments on hn

amelius a day ago | parent | next [-]

Maybe I should have formulated it the other way around then.

cyberax 18 hours ago | parent | prev [-]

Not 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 17 hours ago | parent [-]

Ladies and gentlemen dunning-kruger contender #2

cyberax 16 hours ago | parent [-]

^ Found a person who hasn't worked on high-througput GCs!

almostgotcaught 15 hours ago | parent [-]

^ Found a person who hasn't worked on high-throughout compilers!