3 ms·
Java being faster on nqueens shows an interesting result : GCs can actually make code "faster", by moving some work to another core. It's possible this could s
by pstch 6y ago
Java being faster on nqueens shows an interesting result : GCs can actually make code "faster", by moving some work to another core.
It's possible this could still be done with the described approach, but it looks much more difficult.
- djwatson24 6y agoUnless I am misreading their graph, Java beats neither c++ nor koka in time or rss.
- Bootvis 6y agoI read them the same. Now it is interesting that C++ is so much slower on cfold.
- pstch 6y agoOops, it was not on nqueens, but on deriv. > Finally,Java performs best on this benchmark; we can see whilerunning the benchmark that it can run the G1 collectorfully concurrent on another core.