by mseepgood · 12y ago · 0 comments
As just one example, ADTs in Haskell are implemented in an extremely efficient fashion.
Type classes are implemented in the same way that Go's interfaces are implemented (basically the same way as vtables are in C++).
The immutability features (const) are compile-time checks, and can even help the compiler be more efficient.
"if as an expression" has no real cost.
Actually, it's because I like Go's standard library HTTP server implementation!
I'm not claiming that Haskell or Rust are magic bullets, or that Go is useless. Far from it!
The claim that it is "no longer a practical language" is as silly as the "Real World" fallacy.