News for hackers. Stuff that matters.
Re:Dhall: A Gateway Drug to Haskell by rowanG077 on Tuesday June 07, 2022 @04:24PM (#31659647)
I only agree with the runtime characteristics point. It's very hard to get an idea of what is efficient or not sometimes. But on every other point I believe Haskell is magnitudes better for general software development then mainstream languages.
Re:Dhall: A Gateway Drug to Haskell by picozeta on Tuesday June 07, 2022 @04:27PM (#31659676)
That's my point (sry I edited my post, when you already replied).

It's a good programming languages, but being "magnitudes better" is absolutely not true in my experience.

Re:Dhall: A Gateway Drug to Haskell by amelius on Tuesday June 07, 2022 @05:00PM (#31659990)
Perhaps the ideal language is then a combination of two approaches: Haskell in the outer loops, Rust in the inner loops?
Re:Dhall: A Gateway Drug to Haskell by marcosdumay on Tuesday June 07, 2022 @05:52PM (#31660492)
The Python code using C libraries you get on machine learning is a nice model. There is no reason why you can't recreate it with Haskell + Rust.

But it has one drawback that it's relatively slow to pack stuff to send between languages. On Python everything is so slow that this doesn't make much of a difference, but on the Haskell + Rust scenario you will want much larger library blocks.

Re:Dhall: A Gateway Drug to Haskell by pyrale on Tuesday June 07, 2022 @08:02PM (#31661590)
You will lose the benefits of both type systems if you try to combine them. Rust doesn't really track effects, while Haskell doesn't care about memory.