5 ms·
Using Java code for things that are this performance critical doesn't feel like a good idea. It will work of course, but it will probably GC a lot, and while mo
by grishka 6y ago
Using Java code for things that are this performance critical doesn't feel like a good idea. It will work of course, but it will probably GC a lot, and while modern JVMs do JIT, the code they generate can't be as optimal as something that has manual SIMD optimizations.
- lmm 6y agoUsing C code is how you get the next cloudbleed. I'm happy to pay a performance cost for the sake of memory safety.