News for hackers. Stuff that matters.
Re:Why Is C Faster Than Java (2009) by JetSetWilly on Monday December 27, 2021 @07:39AM (#29702011)
I mean, obviously using different languages has different trade offs in many dimensions. If speed were all that mattered then everything would be written in assembler.

But the point at issue is that by using java you are trading off speed (potentially for other benefits).

By the way - tantivy at least is implemented in rust so it shouldn’t suffer from memory safety issues just as lucene shouldn’t. And the rust language will provide some guarantees that java doesn’t - like freedom from data races.

There are no comments on this comment yet.