4 ms·
Oh, no, it isn't. Take the speed of Haskell or Prolog. They are much slower than Rust at runtime.
by rhn_mk1 4y ago
Oh, no, it isn't. Take the speed of Haskell or Prolog. They are much slower than Rust at runtime.
- pkolaczk 4y agoThere are even more: - Java (compiled AOT, anyone remembers how dead slow code GCJ produced?) - Go (not always as bad as Java, but not perfect either)
- pjmlp 4y agoGCJ was always a toy compiler, if you want good AOT Java code check the commercial JDKs that have been in business for the last 20 years.
- pjmlp 4y agoFirst of all Prolog is usually not AOT compiled rather JITed, secondly regarding Haskell, it is an issue with the skill set of the developer more than anything.
- misja111 4y agoGiven expert skills in both Haskell and Rust, Rust is by far the fastest performing language. And if you use idiomatic Haskell the difference is even bigger. E.g. if you use lots of Monad transformers and lazy evaluation.
- pjmlp 4y agoThe optimisation lies between keyboard and chair. Plus if one lacks the ability to write high performance Haskell code, they definitely aren't experts.