I posted an Andreas Gal paper a few weeks ago that you might want to
check out too. They're both about the same idea (basically optimize at
the loop level instead of at the method level) but I think that one had
more technical content. (I also started looking into this stuff thanks
to the Steve Yegge post.)
> Right now, I'm just at the stage of looking for a good book on
> compilers so that I can contribute to Rubinius in the future.
The "dragon book" is the go-to compilers book, but you'll have to keep
in mind the dynamically-typed, late-bound, anything-can-be-redefined
nature of Ruby, especially when it talks about optimization.
--
William <wmo...@masanjin.net>
I have no idea what the differences are between editions. My personal
experience is that I owned some version of it in college, sold it
immediately afterwards, and now wish I had kept it.
--
William <wmo...@masanjin.net>
-- Samuel
For dynamic optimization technology, I'd say you're better off reading
research papers which are available for free online.
Eg. a good starting point is the 'Publications' page of the JikesRVM
project (a JVM + JIT written in Java):
http://jikesrvm.org/Publications
For Garbage Collection, there's really only one book:
http://www.cs.kent.ac.uk/people/staff/rej/gc.html
Again - like the Dragon book - the price is a bit steep, and you might
get a lot of the info from the linked papers in the bibliography:
http://www.cs.kent.ac.uk/people/staff/rej/gcbib/gcbib.html