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

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

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 -

Re: cli latency

2012-10-07 Thread Grant Rettke
On Sun, Oct 7, 2012 at 11:50 AM, Brian Craft craft.br...@gmail.com 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

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.