Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Nathan Fisher
It's not a huge contributor but Class loading isn't free and Clojure could optimise it in a couple of places. I think with a couple of months effort in optimisation you might be able to get it down to 500ms for a simple "hello world". I'm doubtful you can get it much lower than that. TBH I'm not

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Timothy Baldridge
I would suggest everyone here read this document: https://dev.clojure.org/display/design/Improving+Clojure+Start+Time It goes into a lot of detail on prior work in this area, and I'd say the benchmarks on it should be quite informative. But let me also go into a bit more detail into how CLJS

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Timothy Baldridge
>> If Var reification is part of the slowness of Clojure startup over Java's It's really not. If you completely removed vars from Clojure on the JVM, Clojure wouldn't be faster by any measurable amount. If someone has benchmarks that say that Vars themselves are the cause of Clojure JVM's slower

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Didier
> > Really, any comparisons between JS and JVM startup times are not useful at > all. I'd say its useful to me, if anything because I've learned quite a few things already from this comparison, and I hope to learn more. If Var reification is part of the slowness of Clojure startup over

Call out to improve the wikipedia entry?

2018-01-25 Thread Didier
I noticed the wikipedia entry for Clojure is marked as having multiple issues: https://en.wikipedia.org/wiki/Clojure Would be great if a kind mind would attempt to improve it. I may give it a shot next time I have some free time, but others are welcome to beat me to the punch. -- You

Clojure JD in San Jose, CA

2018-01-25 Thread Kevin
Must Have: -- 1 to 3 years hands, production on experience in Clojure or another Lisp based language Strong functional programming background Minimum 1 year experience in Java Hands on experience with leiningen and git Hands on experience in API Experience in Scrum and CI Nice to

Re: [ANN] task a.1

2018-01-25 Thread Devin Walters
A coworker of mine recently pointed me at this, and I think it's quite cool. I don't have any specific feedback, but wanted to say I'm following along with the development and plan to give it a whirl on a hobby project. Thanks Léo! On Fri, Nov 10, 2017 at 11:35 AM, Léo Noel

Re: [ANN] walmartlabs/system-viz 0.2.0

2018-01-25 Thread Howard Lewis Ship
I use it all the time myself ... even I get lost when my systems have more than 100 components floating around. I'm thinking of some improvements where the components might have some special :viz/xxx keys that will influence what gets rendered. Maybe ways to highlight key components, or set ranks

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Stephen Nelson
The JVM is concurrent whereas Javascript VMs are singled-threaded. Var initialisation in Clojure uses concurrency primitives to ensure that namespaces are always consistent for all threads, whereas Clojurescript simply assigns to variables. Our profiling of Clojure on the JVM indicates that a lot

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Mikhail Gusarov
cljs vars are not reified. On Thu, 25 Jan 2018, at 18:24, Didier wrote: > Based on the profiling performed here > http://clojure-goes-fast.com/blog/clojures-slow-start/ on 1.9, > > It looks like clojure/core__init.load is the slowest bit with load and > requiring spending the most time on, as

Re: If Clojure is to blame for the majority of the startup time, why doesn't ClojureScript proportionally slow down the JavaScript startup time also?

2018-01-25 Thread Didier
Based on the profiling performed here http://clojure-goes-fast.com/blog/clojures-slow-start/ on 1.9, It looks like clojure/core__init.load is the slowest bit with load and requiring spending the most time on, as well as loadClass, followed by clojure/lang/Var.invoke. Wouldn't ClojureScript

Re: Russ olsen's Clojure Book

2018-01-25 Thread Nando Breiter
I like those sections as well! and I also like how Russ has extracted and presented the essential simplicity of Clojure in this book. It makes it very approachable. And the one-liners, like: "There comes a time in the life of virtually every program when decisions need to be made." :-) Aria

2018 State of Clojure Community Survey is now open!

2018-01-25 Thread Alex Miller
It's time for the annual State of Clojure Community survey! If you are a user of Clojure or ClojureScript, we are greatly interested in your responses to the following survey: https://www.surveymonkey.com/r/clojure2018 The survey contains four pages: 1. General questions applicable to any

RE: Russ olsen's Clojure Book

2018-01-25 Thread Sean Corfield
I’m already enjoying my copy! I like the structure of the sections, especially the “keeping out of trouble” and “in the wild”. Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN An Architect's View -- http://corfield.org/ "If you're not annoying somebody, you're not really alive." -- Margaret