3 ms·
At least as of a couple years ago, OCaml wins on performance for anything single core, but not by much. F# is usually within a 5-10% performance gap. Absolutely
by darksaints 6y ago
At least as of a couple years ago, OCaml wins on performance for anything single core, but not by much. F# is usually within a 5-10% performance gap. Absolutely better than Python.
- pbiggar 6y agoI don't think that's accurate. The Benchmark game [1] shows F# winning more and by larger margins. My own benchmark [2], which was reimplementing Dark in three languages, had F# with 2x the throughput. (standard caveat that benchmarks suck) [1] https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/ocaml.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/... [2] https://github.com/darklang/fizzboom/issues/13 https://github.com/darklang/fizzboom/issues/13
- darksaints 6y agoInteresting, they have definitely closed a lot of gaps since I last used it.
- pbiggar 6y agoI think .NET Core (esp v5) has had lots of good performance work: https://devblogs.microsoft.com/dotnet/performance-improvements-in-net-5/ https://devblogs.microsoft.com/dotnet/performance-improvemen...