开发者

Ruby interpreters, method execution

开发者 https://www.devze.com 2023-02-15 08:10 出处:网络
I\'m doing some research into how different Ruby interpreters do 开发者_开发技巧method execution (e.g. when you call a method in ruby, what steps does the interpreter take to find and execute it, and

I'm doing some research into how different Ruby interpreters do 开发者_开发技巧method execution (e.g. when you call a method in ruby, what steps does the interpreter take to find and execute it, and which structures are involved in this). I am trying to compare the performance of the different approaches being used.

The interpreters I'm looking into are: MRI, YARV, JRuby, Rubinius, Ruby EE

I am looking for any general pointers about which files in the interpreter source I should check out, and any other general information about this topic that you guys can provide.

Thanks!


This article is a really good description of method dispatching in JRuby. It is nicely complemented by the JRuby Wiki page describing its internals.

0

精彩评论

暂无评论...
验证码 换一张
取 消