• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

groovy on android?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
is it possible/coming down the road, do use groovy while developing on android?
 
Author
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
NOTE: I am not a Groovy expert.

There appears to be two ways to use Groovy: pre-compiled ("compiles straight to Java bytecode so you can use it anywhere you can use Java") and dynamically-compiled (generating bytecodes on the fly while interpreting Groovy source).

Pre-compiled Groovy might work on Android, but the Groovy-generated .class files would need to be integrated into the Android build process so they can be converted to Dalvik VM bytecode.

Runtime-compiled Groovy would work only if Groovy were taught how to generate Dalvik VM bytecode.

If there is pure interpreted mode for Groovy, where it does not attempt to generate bytecode at runtime, that might work as an embedded scripting language.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic