News for hackers. Stuff that matters.
Re:Implications of Rewriting a Browser Component in Rust by ahartmetz on Friday March 01, 2019 @01:02AM (#19278304)
I remember reading an article about Java performance many years ago. It had an example for Java being faster than C++ and it was maths on arrays / matrices. I guess that kind of code least trips up HotSpot optimizations, so it wins due to availability of runtime information and a really good implementation of certain parts.

Though I doubt that Java usually wins against the Eigen C++ library. Eigen uses some template tricks to fold operations together (which can avoid intermediate storage and unlocks more types of restructuring optimizations) and uses SIMD extensively.

Re:Implications of Rewriting a Browser Component in Rust by pjmlp on Friday March 01, 2019 @02:34AM (#19278619)
Probably not, however Hotspot got some Intel help regarding auto-vectorization, including AVX support.