Remix.run Logo
cogman10 an hour ago

Not to mention the size difference as well. The JVM stack is 2^16 in size while x87 has 8.

The java compiler can practically pretend like the stack is infinite in size while a compiler dealing with x87 has to contend with spillage in all but the most trivial of algorithms.