Re: Clojure for big data

2017-10-18 Thread Christopher Small
Hi Ray > This is partly prompted by the lack of activity on the Github repos. Maybe you have higher standards here than I do... last commits on Flambo and Sparkling were 3 and 2 months ago, respectively. That doesn't raise any alarm bells for me personally. Moreover, looking at the contributor

Re: ANN: sputter, a Clojure implementation of the Ethereum VM

2017-10-18 Thread Andrea Richiardi
Nice! On Wednesday, October 18, 2017 at 8:35:36 AM UTC-7, Moe Aboulkheir wrote: > > I've been working on an ongoing series of blog posts documenting the > development of sputter , an > immutable EVM implementation Today's instalment is available here

Re: why java version in 10 times faster?

2017-10-18 Thread Lubomir Konstantinov
I was merely pointing that 'equivalent' Java code (and the subsequent Clojure one) is not really equivalent to the example and why this explains the performance difference. Wasn't really aware that this is a business problem in need of algorithmic optimization. If it was, I probably would

Re: why java version in 10 times faster?

2017-10-18 Thread Mike
Hello, Lubomir! The business problem was: Here is vector of vectors, where each subvector contains (initially sequential) unique numbers. Then a set of threads are started that repeatedly select two random positions in two random subvectors and swap them, in a transaction. After N iterations,

Re: why java version in 10 times faster?

2017-10-18 Thread Lubomir Konstantinov
Among other things (you are trying to compare two totally different synchronization mechanisms) - cause its doing something else :) The version from the example is preserving the atomicity of the whole vector. Your version is working on an element level. In the former, If multiple threads are

[ANN] ClojureTab-1.5 plugin for Protege

2017-10-18 Thread ru
Dear Clojure users! ClojureTab-1.5 plugin for Protege (https://protege.stanford.edu/) published on Protege Plugin Library page: https://protegewiki.stanford.edu/wiki/ClojureTab Features: 1. Integrated development environment for Clojure language 2. Protege API for Clojure language 3. Rule

ANN: sputter, a Clojure implementation of the Ethereum VM

2017-10-18 Thread Moe Aboulkheir
I've been working on an ongoing series of blog posts documenting the development of sputter , an immutable EVM implementation Today's instalment is available here . The first post

Nice screencast overview of Specter

2017-10-18 Thread Alan Thompson
I just saw this on YouTube and thought you may enjoy it: https://youtu.be/rh5J4vacG98 While there is lots of written documentation on Specter, the live-coding and narration of what one is seeing provides some nice examples. Enjoy, Alan -- You received this message because you are subscribed to

Clojure for big data

2017-10-18 Thread Ray Miller
Hi, Here at Metail we have been using Clojure for medium-sized data processing on AWS EMR. We started out with Cascalog about 5 years ago, switched to Parkour 2 years ago, and are now considering a move to Spark. My question is: is Clojure still a good choice for medium/large data processing on

Re: why java version in 10 times faster?

2017-10-18 Thread Mike
Hi, Deniel. I made minor change from example (https://clojure.org/reference/refs) and now Clojure code works at speed 60-80% of pure Java code. I changed level of lock (refs). In example of clojure org level of refs is higher and that is why code works slower, i.e [ (ref[ 0 1 2..]) (ref [..])