ruby on android : ruboto vs rhodes?

2020-07-06 05:16发布

Has anyone tried developing an Android app using Ruby? If so, which tool would you recommend? What are the advantages and disadvantages, comparing (between) both?

Any sharing of experience, insight, etc., would be much appreciated.

2条回答
趁早两清
2楼-- · 2020-07-06 06:01

Disclamer: I haven't used this project at all. Having said that:

The Mirah programming language's syntax is based heavily on Ruby and it compiles to Java byte code which you could then run through the dx android tool.

Another option to consider would be JRuby. JRuby is a fairly mature implementation of Ruby which, I believe, supports ahead of time compilation.

查看更多
贪生不怕死
3楼-- · 2020-07-06 06:23

Rhodes uses compiled Ruby 1.9 bytecode at run time, and does not use the Dalvik JVM at all (it's written in C++ with the NDK). Hence, it is much faster than Ruboto.

查看更多
登录 后发表回答