Differences Between Ruby Virtual Machines

What are the advantages / disadvantages of basic Ruby VMs (things like features, compatibility, performance, and quirks?) I know that there are also some bonus features, such as the ability to use Java interfaces through JRuby. This would also be useful to note. Does any VM have a distinct advantage at this stage and in what contexts?

+3
source share
2 answers

I used both Matz Ruby and JRuby, and they solve different problems. If you are developing a direct Ruby or Rails application, then this will probably be enough, but if there are several powerful Java libraries that would help a lot, then JRuby might be useful.

, JRuby, , , , ( , ).

, ... script DB2. DB2 Ruby ... - DB2, Ruby, . JRuby, JDBC JDBC DB2. . ? , Java , !

, ! , ....


, , ... JRuby , Java, "" , Matz... , JRuby, , ... C.

+6

, : Ruby MRI, Ruby 1.9 (YARV), JRuby, XRuby, Rubinius, IronRuby

, , , VM, , , Ruby 1.9 , , , -, JRuby.

Ruby on Rails: Ruby MRI, Ruby 1.9, JRuby Rubinius.

XRuby JVM, JRuby, Ruby Java.class.

IronRuby .NET, DLR Ruby .NET. Ruby on Rails.

VM, HotRuby, Ruby Flash.

+6

Source: https://habr.com/ru/post/1697526/


All Articles