Functional Languages that compile to Android's Dalvik VM?

Posted by Berin Loritsch on Programmers See other posts from Programmers or by Berin Loritsch
Published on 2011-03-29T17:46:20Z Indexed on 2012/09/11 3:49 UTC
Read the original article Hit count: 422

I have a software problem that fits the functional approach to programming, but the target market will be on the Android OS. I ask because there are functional languages that compile to Java's VM, but Dalvik bytecode != Java bytecode.

Alternatively, do you know if the dx utility can intelligently convert the .class files generated from functional languages like Scala?

Edit: In order to add a bit more helpfulness to the community, and also to help me choose better, can I refine the question a bit?

  • Have you used any alternate languages with Dalvik? Which ones?
  • What are some "gotchas" (problems) that I might run into?
  • Is performance acceptable? By that, I mean the application still feels responsive to the user.

I've never done mobile phone development, but I grew up on constrained devices and I'm under no illusion that there is a cost to using non-standard languages with the platform. I just need to know if the cost is such that I should shoe-horn my approach into default language (i.e. apply functional principles in the OOP language).

© Programmers or respective owner

Related posts about programming-languages

Related posts about android