Hacker News new | ask | show | jobs
by loumf 4549 days 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.

2 comments

Right. 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.

Thanks for the cljx tip. Is it commonly used, or more of an experimental thing?
very commonly used.