Hacker News new | past | comments | ask | show | jobs | submit login

I actually thought this was a repost of a very old article when I first noticed it on the HN front page. Then I realized that Ruby wasn't around in the 80s. Oh.

I thought all modern dynamic languages use generational GC.




Ruby's internals are hilariously naive. 1.8 is an AST interpreter (!) and 1.9 and 2.0 are dumb bytecode interpreters, with no quickening or anything.

Not to knock it too much - if it gets the job done it gets the job done - but it would be nice if they considered adding at least some undergraduate level interpreter class optimisation techniques.


Well it wasn't long ago that JS, arguably the most used dynamic languages gets GGC.


fwiw V8 always had a generational collector.


And that was less then 5 years ago, and it was a Stop the World GC until less then 2 years ago updated to Incremental. While Mozilla's has had incremental for a year and are still working on Generational Collector.

The point is, apart from Java which gets many cooperate backing, even the most widely uses programming languages only recently had a decent enough GC implementation. As much as i hate this slow progression, most VM still dont have GGC as default at all.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: