Ruby on Android: Ruboto IRB / Android Scripting Environment

4,721 views

Published on

Talk given at Ruby User Group Berlin (rug-b.de), April 1st 2010

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,721
On SlideShare
0
From Embeds
0
Number of Embeds
68
Actions
Shares
0
Downloads
60
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide



















  • Ruby on Android: Ruboto IRB / Android Scripting Environment

    1. 1. Ruboto IRB & Android Scripting Environment @jberkel
    2. 2. Why Android ?
    3. 3. open source...
    4. 4. easily hackable!
    5. 5. but mainly... Not Just Java! (it’s JVM based *) * kind of
    6. 6. “kind of” JVM based? .java JVM dalvik .scala bytecode dx VM ?
    7. 7. but... these are static languages. how about Ruby?
    8. 8. option 1: interpret JRuby on-device
    9. 9. slow! (the JIT’s missing)
    10. 10. option 2: AOT (ahead of time) compilation foo.rb jrubyc foo.class
    11. 11. eval(“hello #{world}”) not everything’s compilable less flexible but fast(er) !
    12. 12. Android Scripting Environment (ASE) Lua Sensors Ruby JSON RPC Android Facade Camera Phone Python
    13. 13. but: limited by operations defined in façade
    14. 14. IRB ...started as a hack
    15. 15. nice, Android APIs can be called directly Sensors Activity Camera JRuby runtime Phone
    16. 16. let’s add an editor.
    17. 17. ... & an API which feels like Ruby
    18. 18. however... still early stage project memory+CPU intensive startup time no precompilation (yet) but... dalvik JIT compiler announced collaboration Ruboto/ASE started
    19. 19. http://code.google.com/p/android-scripting/ http://github.com/headius/ruboto-irb http://groups.google.com/group/ruboto Thanks!

    ×