3 ms·
now direct https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/swift-csharpaot.html https://benchmarksgame-team.pages.debian.net/benchmarksgame
by igouy 2y ago
now direct
https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/swift-csharpaot.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- neonsunset 2y agoThanks! Also wow, I stand corrected, Swift is a much stronger contender in Benchmarks Game scenarios than earlier microbenchmarks and research projects that I've seen would suggest. Particularly when using its own SIMD abstraction, it is likely LLVM makes very competent transformations, possibly merging narrower operations into a wider ones, replacing one set of intrinsics with another, etc. However, still seems to suffer quite a bit, just like Go, in Binary Trees (it's not like C# does the best there either, the winners use bump allocators, and then there's also a 2.6s magic entry by Java, write barrier elision?).