News for hackers. Stuff that matters.
Re:The Performance Impact of C++'s `final` Keyword by Thiez on Tuesday April 23, 2024 @08:17AM (#40131052)
The JVM can actually perform this optimization optimistically and can undo it if the assumption is violated at runtime. So Java's 'everything is virtual by default' approach doesn't hurt. Of course relying an a sufficiently smart JIT comes with its own trade-offs.

There are no comments on this comment yet.