Keep interop out of hot loops, avoid reflection, and measure before optimizing.
Most Java interop is fast enough. The performance problems show up when:
The engineering approach is the same as in Java: measure, profile, and then pick the right tool. This section highlights the common interop costs so you know what to look for when something feels “surprisingly slow.”