News for hackers. Stuff that matters.
Re:Alpaca – Functional programming inspired by ML for the Er... by leshow on Saturday March 25, 2017 @12:31PM (#13956345)
Haskell?

Some of it's parallelism and concurrency features should look familiar to you (it has an M:N threading model), complete with channels, and some stuff you've probably never heard of like STM. It compiles to a binary, has a type system much more powerful and expressive than Go's, and the community is very helpful.

I will say the compile times aren't very speedy, I assume you want fast compile times in order to type check your code, and for that there is ghc-mod.

Re:Alpaca – Functional programming inspired by ML for the Er... by bjt on Saturday March 25, 2017 @06:58PM (#13957968)
"It compiles to a binary..."

That's one of the things I love best about Go. Compile for your platform, then copy the binary somewhere else and run it. Awesome.

I really want this to be true for Haskell too, but there's a glaring exception with libgmp. Google "haskell libgmp" for many stories of people thinking they could just copy their haskell program to a new system and run it, only to realize they were wrong.

Re:Alpaca – Functional programming inspired by ML for the Er... by leshow on Sunday March 26, 2017 @05:01PM (#13963278)
I'm sorry I don't understand, the results seem to be about people having difficulty installing GHC, not deploying a binary. I can say anecdotally I've never had any problems.

edit: Ah ok, apparently libgmp is dynamically linked in binaries, but you can pass a flag to GHC to statically link all runtime dependencies. Is that what you were talking about?