What Mikera probably wants to demonstrate, and I agree with him, is that
the slow startup time not being due to JVM proper, it's in the current
implementation of Clojure that you must find what to do.

If you port Clojure piece by piece to another technology, you will probably
get the same startup time problems ... minus the 0.1s taken by the JVM to
start.

The good news is that if it's not the JVM startup the problem, then you can
work on a better way of compiling Clojure code on the JVM ... no need to
change your target !


2014/1/8 John Gabriele <jmg3...@gmail.com>

> On Wednesday, January 8, 2014 7:17:35 AM UTC-5, Mikera wrote:
>
>>
>> The JVM isn't really the problem though, at least as far as I can work
>> out. In fact I think the whole "JVM startup is slow" thing is a bit of a
>> myth: JVM startup including running a simple "hello world" is less than 0.1
>> secs on my machine.
>>
>
> For a tiny Java-only command-line program, startup time is very quick.
>
> For a tiny Clojure uberjar, startup time on my desktop is about a second.
> Tolerable.
>
> A `lein run` in a tiny project takes a little over 2 seconds. To start up
> a `lein repl`, it takes around 3 seconds, or 5 seconds if I'm within a
> project (longer for a cold start). Those places, I think, is where most
> complaints lie regarding startup time. (This is all without using
> grenchman.)
>
> Regardless though, I still think there would be value in a small-footprint
> natively-compiled Clojure with easy access to C libraries. Even without a
> JIT and without Java's expansive standard library. But, point taken about
> how much work the rest of the foundation would require.
>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to