News for hackers. Stuff that matters.
Re:The beauty of functional languages in deep learning – Clo... by jimbokun on Thursday September 12, 2019 @10:35AM (#20951921)
> Integrations with emerging technologies like new database systems or new statistical packages always lags way behind other languages and usually exists in some half-finished form that depends on labor of love from some isolated hobbyist.

This really sets Clojure apart from Haskell, in that you can use any Java library with almost zero friction.

Re:The beauty of functional languages in deep learning – Clo... by mlthoughts2018 on Thursday September 12, 2019 @11:20AM (#20952455)
I don’t have experience in Clojure but I do have experience in Scala where this claim is also made often.

In Scala anyway, it’s totally false. Firstly there’s just a huge impedence mismatch between code relying on Scala features and code serving as a Java wrapper into Scala. But even just the basic usage of the libraries doesn’t always work.

I very nearly quit a job once just from the incredible frustration of trying to use JFreeChart in Scala.

Re:The beauty of functional languages in deep learning – Clo... by jimbokun on Thursday September 12, 2019 @11:45AM (#20952799)
For a while, a few years ago, I wrote a lot of scripts and personal tooling in Clojure, calling Java APIs. I don't remember really having any difficulties calling Java code from Clojure.
Re:The beauty of functional languages in deep learning – Clo... by blandflakes on Thursday September 12, 2019 @12:30PM (#20953411)
It's a very different world in Clojure. Data structures mutually satisfy the relevant interfaces, and there's no real pain about how a java.util.Map isn't immutable and so on.