--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+unsubscribe@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This should be a reasonable environment for command line scripting
> Hopefully the landscape for alternative Clojure hosts will improve with the completion of CinC [2].
[2] https://github.com/Bronsa/CinC
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
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+u...@googlegroups.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)
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
--
Alex
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.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
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+unsubscribe@googlegroups.com.
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
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+u...@googlegroups.com.
That's actually a major issue for those wanting to use Clojure to work on a RPi or similar low end system. These systems are also so memory constrained, that last I checked, the CLJS compiler wouldn't run too well on them either. Now that doesn't stop people from using Node.js to run CLJS code once it's compiled and copied to the device, but still, not exactly the ideal solution.�
Timothy
On Wed, Jan 8, 2014 at 8:43 AM, Jim - FooBar(); <jimpi...@gmail.com> wrote:
On 08/01/14 14:38, John Gabriele wrote:well, a tiny Clojure/Swing uberjar on the raspberry-pi (oracle-java7) takes 9-12 seconds to start!!! not so tolerable...
For a tiny Clojure uberjar, startup time on my desktop is about a second. Tolerable.
in fact, in the absence of a splash screen, the user has the quite convincing illusion that nothing is happening!!!
this of course doesn't mean anything, I just thought it is worth mentioning...
Jim
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
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+u...@googlegroups.com.
--
�One of the main causes of the fall of the Roman Empire was that�lacking zero�they had no way to indicate successful termination of their C programs.�
(Robert Firth)
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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
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+u...@googlegroups.com.
Anyone who owns a RPi can go into the Pi-store and download MultiSnake to get a feeling of the problem...MultiSnake is basically a polished version of Stuart Halloway's snake game first featured in the book "Programming Clojure", with the major features you would expect from a snake game included and no reflection (well there is one place where I cannot get rid of reflection)...
If I remember correctly `lein repl` takes close to 55 seconds to show...clojure-py beats everything, hands down with respect to startup times...
Jim
On 08/01/14 15:46, Timothy Baldridge wrote:
That's actually a major issue for those wanting to use Clojure to work on a RPi or similar low end system. These systems are also so memory constrained, that last I checked, the CLJS compiler wouldn't run too well on them either. Now that doesn't stop people from using Node.js to run CLJS code once it's compiled and copied to the device, but still, not exactly the ideal solution.
Timothy
On Wed, Jan 8, 2014 at 8:43 AM, Jim - FooBar(); <jimpi...@gmail.com> wrote:
On 08/01/14 14:38, John Gabriele wrote:well, a tiny Clojure/Swing uberjar on the raspberry-pi (oracle-java7) takes 9-12 seconds to start!!! not so tolerable...
For a tiny Clojure uberjar, startup time on my desktop is about a second. Tolerable.
in fact, in the absence of a splash screen, the user has the quite convincing illusion that nothing is happening!!!
this of course doesn't mean anything, I just thought it is worth mentioning...
Jim
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
“One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.”
(Robert Firth)
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@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 clo...@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+u...@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+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
And even clojure-py is miles behind stock python.
One of the problems with Clojure as it stands now is that there is just way too much init work that has to be done on every startup. Just as a comparison, let's compare how python code and clojure code is loaded:
{snip}
What makes this worse is that parts of Clojure may not be properly profiled by the JIT. In one benchmark I ran I saw a 2x speed-up loading files after the compiler was properly warmed up.
What we see here is the difference between a VM designed for a language, and one designed for a different language. In Python constants are just dumped to/from disk during compilation and loading. In Clojure these constants have to be recreated each time.
{snip}
Anyway, that's my personal take on the subject. It's a trade-off. The JVM is nice, but it's dang hard to get fast startup times with it.Timothy