News for hackers. Stuff that matters.
Re:Why does WebAssembly need the relooper algorithm, instead... by saagarjha on Monday February 24, 2020 @12:54AM (#22401987)
> If you have an irreducible loop in Java bytecode, which is possible, you will never be JITed and will get stuck running 100x slower in the interpreter.

The JVM doesn't JIT any irreducible loops?

Re:Why does WebAssembly need the relooper algorithm, instead... by moring on Monday February 24, 2020 @04:08AM (#22402651)
As far as I understood, the Java language and many other high-level language can't express such loops (no arbitrary gotos), so JITing them would be a specific optimization for otherwise-crafted bytecode. Also, it probably doesn't happen often for bytecode generation libraries.

So basically a lot of potential for bugs to optimize a super-rare case that could also be solved instead by whoever produced that code.