4 ms·
Are you sure about that? Forth is famous for being extremely fast. As for SML, assuming a variant with manual memory management (which I do not consider to add
by AnaniasAnanas 8y ago
Are you sure about that? Forth is famous for being extremely fast. As for SML, assuming a variant with manual memory management (which I do not consider to add complexity in C), I can't think of any reason on why it would be more difficult to optimise.
- boomlinde 8y ago> Forth is famous for being extremely fast. Have you seen that claim backed up by any evidence produced within the last 25 years?
- fooker 8y ago> I can't think of any reason on why it would be more difficult to optimise. https://benchmarksgame-team.pages.debian.net/benchmarksgame/faster/ghc-gpp.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... The main reason a language like SML or Haskell is difficult to optimize is because it is incredibly difficult to canonicalize for the purpose of making peephole optimizations and abstract interpretation effective. https://sunfishcode.github.io/blog/2018/10/22/Canonicalization.html https://sunfishcode.github.io/blog/2018/10/22/Canonicalizati...