25 ms·
The differences between Clojure and ClojureScript are mostly because of the underlying runtime (JS vs. JVM). There are projects like cljx that let you hide tha
by loumf 13y ago
The differences between Clojure and ClojureScript are mostly because of the underlying runtime (JS vs. JVM). There are projects like cljx that let you hide that difference.
If "mobile" means "Android", then I think you are right. For iOS, I don't think there's a mature enough way to make a native app with clojure (but PhoneGap with ClojureScript should work).
Finally, if "all-purpose" means things you can deploy on the JVM or on JS, then yes. If you wanted to make something like a device driver, I'd say no.
- shadowcats 13y agoRight. If I ever need to do any low-level programming, I'll have to look at something else (probably C). Mobile and desktop are not something I focus on heavily either. It's nice to know that if that were to change, Clojure at least offers some decent options.
- shadowcats 13y agoThanks for the cljx tip. Is it commonly used, or more of an experimental thing?
- loumf 13y agovery commonly used.