Re:Why You Might Want To Consider Java And/Or Clojure For Yo...
by wccrawford on Thursday July 07, 2011 @11:25AM
(#2738824)
Ah... That 5-10 second load time is a deal-breaker. Thanks for the info!
Re:Why You Might Want To Consider Java And/Or Clojure For Yo...
by pvarangot on Thursday July 07, 2011 @12:38PM
(#2739156)
If I were you I would still try it. I'm a little behind on my personal projects but I'm definitely trying Clojure on Andriod this month.
I've seen toy Clojure apps running on Android 2.2 and they took sensibly less than 5-10 seconds to load. I'm mentioning this since parent doesn't specify which Android version he was using, and JIT compiling was only recently introduced in 2.2.
The other issue I ran into was that there were issues in getting Clojure to interact with Android properly. Android requires that you compile your code into classes which means you will have to use :genclass in Clojure and implement a lot of interfaces. This in itself isn't that much of a problem (it will make you code less Lispy but oh well) but when I tried it there were bugs in Clojure which made it impossible for me to do some things on Android that I would have liked. That part of the language runtime is a little immature in my experience.
I wouldn't give up based on my words though. It may have improved since I last tried. If you want to look someplace for info on how to get started, I found that this fellow has a lot to offer: http://www.deepbluelambda.org/programming/clojure/creating-a...