Hacker News new | ask | show | jobs
by pstch 2011 days 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.

1 comments

Unless I am misreading their graph, Java beats neither c++ nor koka in time or rss.
Oops, 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.

I read them the same. Now it is interesting that C++ is so much slower on cfold.