Re:Yes, Python is Slow, and I Don’t Care
by falcolas on Friday September 08, 2017 @11:50AM
(#15201181)
Well, let's see.
Go: map[string]int64
Java: HashMap<String, long>
Rust: HashMap<&str, i64>
I think Haskell is one of the only statically typed languages which doesn't really care about algebraic typing. And yes, if you're talking about static typing, you get the baggage of dealing with algebraic typing to go with it as a rule. You can't arbitrarily separate the two until more languages follow Haskell's route.
Go: map[string]int64
Java: HashMap<String, long>
Rust: HashMap<&str, i64>
I think Haskell is one of the only statically typed languages which doesn't really care about algebraic typing. And yes, if you're talking about static typing, you get the baggage of dealing with algebraic typing to go with it as a rule. You can't arbitrarily separate the two until more languages follow Haskell's route.