The jvm isn&#x27;t really penalized because the concurrency model tends to be threads, rather than processes, so you don&#x27;t pay a per-worker cost for a large library.  Plus the jvm will optimize only the actually used code, including de-virtualizing.