News for hackers. Stuff that matters.
Re:JIT and Ruby's MJIT by sosodev on Friday December 06, 2019 @08:12PM (#21727761)
It does. If you’re asking why not AOT compile a whole ruby app? Well Ruby is a really dynamic language and the generated C might not be valid after the app begins execution. I guess theoretically you could enumerate all of the different possible class states or the final class states but that sounds really hard.

If you actually need a compiled Ruby binary mRuby is the best option but it has its own drawbacks of course.

There are no comments on this comment yet.