Reputation: 91534
I have a desktop application written in Clojure that suffers greatly from JVM startup time and is a really good fit for ClojureScript. It is delivered as a jar file for the JVM, what is the equivalent for ClojureScript/JavaScript?
Upvotes: 9
Views: 811
Reputation: 4233
The deployment rules for regular javascript apply. There's nothing wrong with just sending the user the optimized .js file emitted from clojurescript's compiler. Usually this means double clicking the script or running from command line as if it were python or ruby.
Can you do Desktop Development using JavaScript?
For windows machines, you have Windows Script House http://msdn.microsoft.com/en-us/library/9bbdkx3k(VS.85).aspx
If you run a *nix you can use Node.js http://nodejs.org/ Note: You may need to lookup tips for getting google's closure library to work with node.js via https://github.com/hsch/node-goog if you will depend on it.
Upvotes: 6