2014/1/8 Mikera <mike.r.anderson...@gmail.com>

> Cool link, thanks! Yet another clever tool.....
>
> 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. Obviously not as quick as native compiled code, but
> "good enough" for typical command line usage.
>
> I'm pretty sure that loading a big dependency graph of clojure.core +
> require'd Clojure libraries is the real startup time culprit for most
> Clojure apps (which gives me hope, since it means there is still potential
> for significant improvements, either via pre-compilation, lazy loading of
> namespaces, concurrent loading or general compiler/reader optimisations)
>

As far as I can remember, Rich had made some experiments, at some point in
time, wrt lazy compilation of fns. Meaning that you still had the linear
time eagerly skimming all your app's dependency namespaces at startup, but
at least, the work done eagerly was just defining vars, and executing top
level code (including macros).

AFAICT at some point he decided to revert back, but I don't remember the
exact reason (something like : nobody reported feedback, and we were close
to a clojure release, so it was not interesting to pursue this goal at that
time).

One can probably still find relevant commits in Git revisions, as well as
traces of the discussion in the mailing list archives.

Cheers,

-- 
Laurent


>
>
> On Monday, 6 January 2014 04:14:20 UTC, john walker wrote:
>>
>> If boot time is your primary concern, this can help. The jvm is still
>> there, though :/
>>
>> https://github.com/technomancy/grenchman
>>
>>
>> On Saturday, January 4, 2014 9:43:22 AM UTC-5, g vim wrote:
>>>
>>> I have recently moved most of my work to Clojure and Clojurescript but
>>> neither of these implementations seem suitable for non-http scripting,
>>> for which I currently use Ruby. So, you can imagine my elation when I
>>> discovered Rouge which is Clojure implemented on Ruby:
>>>
>>> https://github.com/rouge-lang/rouge
>>>
>>> The project looks fantastic but they seem to be short of contributors.
>>> My programming skills are nowhere near advanced enough to work on this
>>> myself so, please, if any of you Clojurians have proficiency in Ruby and
>>> Clojure please consider contributing.
>>>
>>> I looked at Python's Hy (hylang.org) which is an excellent project in
>>> its own right and is heavily influenced by Clojure but its taregt is
>>> generic Lisp 1 rather than Clojure. Rouge will enable Clojure to occupy
>>> the non-http scripting space without competing directly with Clojure and
>>> Clojurescript.
>>>
>>> gvim
>>>
>>  --
> --
> 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