Re: cli latency

2012-10-08 Thread Paul deGrandis
I recently started working on cli ClojureScript apps. After a few stumbling block (like Node.js lacking a synchronous command exec), I'm well on my way. If you don't have to target the JVM for the CLI interface, this is an option I would consider. You could still do the longer-running service

Re: cli latency

2012-10-07 Thread Shantanu Kumar
Another option is Avian if it works for you: http://oss.readytalk.com/avian/ On Monday, 8 October 2012 05:22:53 UTC+5:30, Alex Miller wrote: > > There are a few people that have worked on this problem for Java and other > JVM projects by basically NOT starting a new JVM or pre-starting the JVM.

Re: cli latency

2012-10-07 Thread Grant Rettke
On Sun, Oct 7, 2012 at 11:50 AM, Brian Craft wrote: > The two second > > delay to... > > do anything... > > is making... > > me crazy. Although JRebel is for JEE, it seems like an interesting thing for a fast REPL. -- You received this message because you are subscribed to the Google Groups

Re: cli latency

2012-10-07 Thread Alex Miller
There are a few people that have worked on this problem for Java and other JVM projects by basically NOT starting a new JVM or pre-starting the JVM. Some places to start: - Drip - https://github.com/flatland/drip (targeting Clojure specifically) - Nailgun - http://www.martiansoftware.com/nailgun

Re: cli latency

2012-10-07 Thread Stuart Sierra
JVM startup time has always been issue. Various tricks help: client mode, smaller heaps, tiered compilation (available in Java 7). Clojure adds another layer, which can be partially mitigated with AOT-compilation. But you'll never get the kind of instant command-line response that C can give yo

cli latency

2012-10-07 Thread Brian Craft
The two second delay to... do anything... is making... me crazy. I should probably be asking this on a java forum. I'm evaluating clojure for a project that needs some number of cli tools (as well as server and browser code) to be delivered to customers. Are there any good solutions to