News for hackers. Stuff that matters.
Re:Pay attention to WebAssembly by charcircuit on Monday January 31, 2022 @11:17PM (#30158556)
>- it was not, under any circumstances, performant

It was performant enough for one of the most popular games of all time, Minecraft, which was originally a game in a Java applet.

Re:Pay attention to WebAssembly by kaba0 on Tuesday February 01, 2022 @02:36AM (#30159634)
As mentioned, that happened much later, so it is irrelevant.

But for the others, java is insanely fast today, with pretty much the state of the art GC it has. In practice, a really significant chunk of all important server backends run on the JVM.

Re:Pay attention to WebAssembly by pie_flavor on Monday January 31, 2022 @11:56PM (#30158783)
Minecraft was started in 2009. Applets were one of Java's flagship features, i.e. released well before the VM became in a performant enough state.
Re:Pay attention to WebAssembly by the_duke on Tuesday February 01, 2022 @12:41AM (#30159018)
Incidentally, Minecraft Java has always had horrible performance, to the point where it was rewritten in C++.

There are two versions of Minecraft now.

The main reason Minecraft Java is still alive is the hackability and the resulting extensive mod ecosystem.

Re:Pay attention to WebAssembly by pjmlp on Tuesday February 01, 2022 @03:05AM (#30159813)
It was rewritten in C++, because Playstation, XBox, iOS, Android[0] don't do Java and Microsoft wanted a single codebase.

[0] - Android Java isn't really the same Java as in Minecraft.

Re:Pay attention to WebAssembly by jacquesm on Wednesday February 02, 2022 @08:24AM (#30177137)
Write once, run anywhere ;)