> You could of course FFI into e.g. C for those parts, but that is usually harder to maintain than a few well optimized java classes.
Hopefully Foreign Function & Memory API [0] makes FFI so much easier that we get to drop down to C without much fuss.