3 ms·
How productive is a Clojure programmer when the requirement is to write a high -performance application which performs vector operations on large matrices?
by nradov 10y ago
How productive is a Clojure programmer when the requirement is to write a high -performance application which performs vector operations on large matrices?
- didibus 10y agoYou can be pretty productive. Have a look at core.matrix (https://github.com/mikera/core.matrix https://github.com/mikera/core.matrix) and vectorz.clj (https://github.com/mikera/vectorz-clj https://github.com/mikera/vectorz-clj) libs. They give you almost native speeds. If you need even more performance, checkout neanderthal (https://github.com/uncomplicate/neanderthal https://github.com/uncomplicate/neanderthal) which has a GPU back-end.
- JBiserkov 10y agoMuch more productive than with OpenCL where "Hello World" is 170 lines of code. See http://dragan.rocks/talks/EuroClojure2016/clojure-is-not-afraid-of-the-gpu.html http://dragan.rocks/talks/EuroClojure2016/clojure-is-not-afr... Down/up arrows move you through slides, while left/up arrows move you through sections. Normally, you'd press down-down-down until there are no more slides, and then right to cross to the next section. ESC gives you the bird's view of the structure.