News for hackers. Stuff that matters.
Re:Fast enough VMs in fast enough time by judofyr on Wednesday February 08, 2012 @10:36AM (#3566896)
> _why's unholy showed it's trivial to compile Ruby into Python (in many cases). It shouldn't be too hard (famous last words) to make a Ruby VM with PyPy.

Basic structures like if, else, while etc. is easy. The hard part is the object model (including constant lookup) and long jumps (exceptions, next/break). Let's not forget the big core library which you need to implement if you want it to be usable at all…

(Related: I started working on a Ruby version in JavaScript: https://github.com/judofyr/rubyscript)

Re:Fast enough VMs in fast enough time by mdaniel on Thursday February 09, 2012 @01:34PM (#3572330)
> Let's not forget the big core library which you need to implement if you want it to be usable at all

Wouldn't one just point the translator/compiler to whatever Ruby's equivalent is of /usr/lib/python2.7 and let it be "turtles all the way down"?

Re:Fast enough VMs in fast enough time by judofyr on Saturday February 11, 2012 @05:20AM (#3578986)
Core != Stdlib. Core is implemented in C. There are 111 methods just on the String class in core…