4 ms·
> I don't think Rust suffers from the issues that make functional languages hard to compile, so that might be a bad example. The issue is that in functional la
by jnxx 6y ago
> I don't think Rust suffers from the issues that make functional languages hard to compile, so that might be a bad example.
The issue is that in functional languages, the compiler has more information and can reliably rely on more assumptions, thus it can make more optimized code. This is why also Common Lisp can compile to very fast code (in a few of the cited micro-benchmarks, faster than Java).