News for hackers. Stuff that matters.
Re:Why the New V8 Is So Damn Fast by repolfx on Tuesday July 31, 2018 @07:12AM (#17652178)
There's this classic paper from Google that runs an optimisation competition on the same program written in C++, Java, Scala and Go:

https://days2011.scala-lang.org/sites/days2011/files/ws3-1-H...

Re:Why the New V8 Is So Damn Fast by physguy1123 on Wednesday August 01, 2018 @09:53PM (#17668693)
This is great benchmark of the fundamental problems with say Java - the code itself is fairly simple and the JITs probably generate optimal code given their constraints, but the performance problems clearly show that the GC and pointer chasing really hinder your performance.

If you add in cases where simd, software prefetching, or memory access batching help, the difference will only grow.