Live data from Hacker News

Python for Android | Linux Journal

linuxjournal.com

11–14 of 14 posts

Re: Python for Android | Linux Journal

#11

Does anyone know if it is possible to write JRuby android applications? It would seem a natural fit given Java etc etc. I do relate to the comment ""If, like me, you'd rather eat glass than sit down to write some Java code" so I have been looking for a better way to do it. Though, I have lately resigned myself to the fact that I may well have to write Java again... As an aside...does anyone have experience with Phone…

Check out ruboto-core at http://ruboto.org/

Re: Python for Android | Linux Journal

#12

Does anyone know if it is possible to write JRuby android applications? It would seem a natural fit given Java etc etc. I do relate to the comment ""If, like me, you'd rather eat glass than sit down to write some Java code" so I have been looking for a better way to do it. Though, I have lately resigned myself to the fact that I may well have to write Java again... As an aside...does anyone have experience with Phone…

You might want to check out Ruboto. I haven't used it yet, but it seems to allow you to do exactly what you want, i.e. write full Android apps using JRuby. I've heard there's a significant performance penalty, though.

http://ruboto.org/

I've also heard of people having success using Mirah to write Android apps. The syntax is very similar to Ruby, so it will be comfortable for you. It compiles to a straight Java class with no runtime dependencies, so you don't get the performance hit you run into with Ruboto.

http://www.mirah.org/

Re: Python for Android | Linux Journal

#13
At the Texas Linux Fest, there was a great talk that reviewed non-Java ways of programming on Android:

http://texaslinuxfest.org/sessions/decaffeinated-robot-devel...

http://www.deepbluelambda.org/events/live/decaffeinated-robo...

There are some comparisons of code size for the different languages and environments. That was probably the most informative talk I attended at the Linux Fest.

Re: Python for Android | Linux Journal

#14
post #12

Does anyone know if it is possible to write JRuby android applications? It would seem a natural fit given Java etc etc. I do relate to the comment ""If, like me, you'd rather eat glass than sit down to write some Java code" so I have been looking for a better way to do it. Though, I have lately resigned myself to the fact that I may well have to write Java again... As an aside...does anyone have experience with Phone…

You might want to check out Ruboto. I haven't used it yet, but it seems to allow you to do exactly what you want, i.e. write full Android apps using JRuby. I've heard there's a significant performance penalty, though. http://ruboto.org/ I've also heard of people having success using Mirah to write Android apps. The syntax is very similar to Ruby, so it will be comfortable for you. It compiles to a straight Java class…

WTF? In the Mirah examples, I see a bunch of

  i = 0
  while i 
There's no for loop? I couldn't confirm because I didn't find a manual.
Post reply on HN