>> Since Clojure runs on the JVM, why do we need ClojureScript and PhoneGap at all?
Mostly because Android doesn't run a true JVM. Dalvik is different enough from a true JVM that Oracle tried to sue Google over it. Ugly details are here: http://www.antforge.org/blog/2011/04/27/daneel-difference-between-java-and-dalvik Timothy On Tue, Jan 22, 2013 at 10:41 AM, MC Andre <andrew.penneba...@gmail.com>wrote: > > I wrote a wrapper for the Apache Cordova (Phonegap) API recently, so that >> it could be used with ClojureScript. I got Hello World, etc up and running >> without much fuss. There are however two issues: >> >> 1. Also a slow start-up time, since Phonegap already has resources to >> load, and then a large JavaScript file on top of it. On a subpar device, >> this wait was several seconds. >> >> 2. Using Phonegap itself feels very second-class, especially with regard >> to the complex Android app lifecycle, things like Intents, and so on. >> >> That said, if are basically building a webapp that just needs some access >> to still inexistent APIs like camera, battery, compass etc, and you are >> targeting better, recent-gen hardware, it (Phonegap) could be a nice >> option. I'll also put the wrapper online soon. >> > > Since Clojure runs on the JVM, why do we need ClojureScript and PhoneGap > at all? > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en