Re: why java version in 10 times faster?

2017-10-15 Thread Mike
https://clojure.org/reference/refs correct link -- 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

why java version in 10 times faster?

2017-10-15 Thread Mike
Hello! I took an example from https://clojure.org/references/refs (select two random positions in two random vectors and swap them, in a transaction.) A java version is faster in 10 times (in attach), and threre is no human brain complexity in concurrency in java version. Why clojure version

Re: hello world question !!!

2017-10-15 Thread terje
Damien: A good starting point for a simple web server might be to use lein new pedestal-service Then you can do lein uberjar to get a jar ready to run. Or check the README for running local dev with a local REPL. If instead you want a WAR, you can switch from pedestal.jetty to pedestal.immutan

Static purity analysis.

2017-10-15 Thread Tiago Dall'Oca
Haven't had time to look in deep but looks promising. +1 I'd love to have more static analysis in Clojure and sometimes it feels like it's underrated (by the community). Just thoughts. Keep up! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To p

Static purity analysis.

2017-10-15 Thread Christian Weilbach
Hey, I have had finally the time to prototype an idea I had for over a year: https://github.com/whilo/beichte It is only a first prototype, but the basic mechanics work fine, i.e. it is doing a deep recursive walk through your Clojure codebase (everything that is on the classpath or filesystem)

Re: hello world question !!!

2017-10-15 Thread Damien Mattei
thanks for the answers and comments of John, James and others, the discussion has opened many aspect of web application development and it is is positive. about the IDE, i'm not using Netbeans with Scheme or LisP exclusively, in fact Netbeans was used in the office just to create web service in