Re: Understanding GraalVM and Clojure

2018-05-01 Thread Khalid Jebbari
The ClojureScript unit tests pass in the JavaScript engine that comes with GraalVM 1.0.0-rc1 https://t.co/WiNHWhv04v (via @Mike Fikes on Twitter) Le mar. 1 mai 2018 à 06:33, Nathan Fisher a écrit : > Is there a runnable language test suite that is used to verify CLJ, CLJS, > and CLR compatibili

Custom core.async go threadpools? Using go parking for heavy calculation parallelism throughput?

2018-05-01 Thread Leon Grapenthin
Recently I worked on an algorithm where a distributed tree is (sort of) flattened in a way that each node runs a commutative aggregation over all of its child nodes calculations. 1 A node can obviously not pmap over all the child nodes (would spawn exponential amount of threads). 2 If I want t

Re: Custom core.async go threadpools? Using go parking for heavy calculation parallelism throughput?

2018-05-01 Thread Justin Smith
Just a couple of small points (and not yet a full answer): > A node can obviously not pmap over all the child nodes (would spawn exponential amount of threads) pmap is not that naive, it uses a pool sized with the assumption that its work is CPU bound > (2) Made me wonder why I couldn't use the

Re: Custom core.async go threadpools? Using go parking for heavy calculation parallelism throughput?

2018-05-01 Thread Leon Grapenthin
Yeah, that goes in a direction I thought about after my post. I'm going to implement sth. like this and we will see how much code overhead is necessary. At the time it appears to me that being able to locally dedicate threads to the go mechanism would make this much easier (than a hand control