Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Ericson2314
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1716 ms
·
4981.
▲
by
Ericson2314
12y ago
One of the mantras of functional programming is get your data structure right, and everything else falls into place. As an experienced functional programmer, I see this in practice every time I program--even a slightly "wrong" typ
4982.
▲
by
Ericson2314
12y ago
Learning functional programming is arguably more about unlearning all the terrible hoops other languages make one jump through.
4983.
▲
by
Ericson2314
12y ago
I highly recommend https://github.com/NixOS/nixops , which is good for deployment in general, but especially good for Haskell since the Haskell infrastructure was rewritten this year.
4984.
▲
by
Ericson2314
12y ago
One thing important to keep in mind that unique and shared pointers are actually _much_ less common than borrowed pointers in Rust. I have little C++ experience, but I can borrowed pointers in Rust are used exactly like the unsafe pointers
4985.
▲
by
Ericson2314
12y ago
http://benchmarksgame.alioth.debian.org/ has some pretty performant Haskell, though it uses some real dirty tricks. It's generally more straight-forward to optimize CPU-bound Haskell because there are less external mov
4986.
▲
by
Ericson2314
12y ago
Your first paragraph is about laziness-vs-strictness, not functional vs imperative. Most Haskellers would agree that laziness is probably the least important benefit of the language. It is true that the flip side of GHC's impressive op
4987.
▲
by
Ericson2314
12y ago
The second part is true, but that optimization would have been much harder, if not impossible, to implement had they had to rely on some sort of flow analysis instead of static typing.
4988.
▲
by
Ericson2314
12y ago
I use and love Rust, but I must admit this is true. GC has some advantages over the current options. Fear not however as post 1.0, optional GC will be most likely added to Rust. See https://github.com/rust-lang/rfcs