|
|
|
|
|
by tome
106 days ago
|
|
Yes, I'm sure about that. I said that it is a systems language, not that it is as fast as C! I don't mind if your terminology excludes Haskell from being a systems language, as long as it also excludes Go. They are both managed, garbage collected, fast languages. > Like lazy evaluation and memoisation Yes, that causes performance impact. If you don't want the performance impact then don't write code that uses those behaviors. Sure, that rules out large parts of the ecosystem, but I said Haskell was a systems language not that its ecosystem was generally suitable for systems programming. > however Haskell manages memory No, Haskell's memory manager is world class, with two (at least) tunable garbage collectors. > But I’m not aware of Haskell beating rust in program performance & memory usage benchmarks Nor am I! > If Haskell were a viable systems language, I suspect the kernel would not have been converted to C. I suspect they converted it to C because you can't write a kernel in a managed language with a garbage collector. |
|