Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the most normal way to deliver a ClojureScript desktop application

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?

like image 368
Arthur Ulfeldt Avatar asked Jul 21 '11 23:07

Arthur Ulfeldt


2 Answers

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.

like image 153
bmillare Avatar answered Nov 10 '22 01:11

bmillare


Or something like this? https://github.com/maccman/macgap

like image 40
humasect Avatar answered Nov 10 '22 02:11

humasect