3 ms·
I was thinking the same thing. Using multicores and having a library ecosystem (through interop rather than conventional F#) should be a win. I don't have an id
by karmakaze 6y ago
I was thinking the same thing. Using multicores and having a library ecosystem (through interop rather than conventional F#) should be a win. I don't have an idea what performance difference to expect but certainly closer to OCaml than Python even for single-core.
- darksaints 6y agoAt 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...