For anyone who’s interested in this kind of stuff, I just uploaded my
pure-ruby toy JVM to Rubyforge. It’s obviously very slow, but can be
useful for seeing how things work or debugging generated classes that
won’t verify. It can do some reasonable class-dumps and execution
traces, too. It’s probably about 70% complete, with most instructions
implemented, and currently has some integration with the GNU Classpath
runtime library.
For anyone who’s interested in this kind of stuff, I just uploaded my
pure-ruby toy JVM to Rubyforge. It’s obviously very slow, but can be
useful for seeing how things work or debugging generated classes that
won’t verify. It can do some reasonable class-dumps and execution
traces, too. It’s probably about 70% complete, with most instructions
implemented, and currently has some integration with the GNU Classpath
runtime library.
Okay, I’m boggled. This is really cool (even it it’s just a toy).
For anyone who’s interested in this kind of stuff, I just uploaded my
pure-ruby toy JVM to Rubyforge. It’s obviously very slow, but can be
useful for seeing how things work or debugging generated classes that
won’t verify. It can do some reasonable class-dumps and execution
traces, too. It’s probably about 70% complete, with most instructions
implemented, and currently has some integration with the GNU Classpath
runtime library.
For anyone who’s interested in this kind of stuff, I just uploaded my
pure-ruby toy JVM to Rubyforge. It’s obviously very slow, but can be
useful for seeing how things work or debugging generated classes that
won’t verify. It can do some reasonable class-dumps and execution
traces, too. It’s probably about 70% complete, with most instructions
implemented, and currently has some integration with the GNU Classpath
runtime library.
implemented, and currently has some integration with the GNU Classpath
runtime library.
Can it run JRuby?
What aboute the reverse – load Ruva inside of JRuby – or better
(worse?)
still, JRuby inside of Ruva inside of JRuby – now there’s an incestuous
cycle. The image of two snakes eating each others’ tail comes to mind.
implemented, and currently has some integration with the GNU Classpath
runtime library.
Can it run JRuby?
Why stop there? Can JRuby run Ruva?
and why stop there … how much work will it take to get JRuby on
Ruva on MetaRuby on Cardinal? I want to be able to read the
line of code currently being interpreted ;^)
won’t verify. It can do some reasonable class-dumps and execution
traces, too. It’s probably about 70% complete, with most instructions
implemented, and currently has some integration with the GNU Classpath
runtime library.
Can it run JRuby?
What aboute the reverse – load Ruva inside of JRuby – or better (worse?)
still, JRuby inside of Ruva inside of JRuby – now there’s an incestuous
cycle. The image of two snakes eating each others’ tail comes to mind.
I thought of that horrible pun but wanted to see how long it would take
someone else to mention it instead ;-). Took about 5 minutes!
Sorry I am weakening, but you will see when having my age !!!
Honestly my jokes might be horrible sometimes but this thread just got
hillarious anyway :)))
/Nick
–
Deux choses sont infinies : l’univers et la bêtise humaine ; en ce qui
concerne l’univers, je n’en ai pas acquis la certitude absolue.
svn checkout svn://rubyforge.org/var/svn/ruva/trunk
Seriously though, this might have real applications in JRuby. Existing
libraries for examining bytecodes are far from friendly, and having a
nice API to examine classes and code could be useful. We’re planning on
writing the next iteration of the Ruby-bytecode compiler in Ruby, and
having a library like this to examine the results will make that easier.