News for hackers. Stuff that matters.
Re:WASIX, the Superset of WASI Supporting Threads, Processes... by samsquire on Tuesday May 30, 2023 @01:02PM (#36127360)
Compiling native application to operating systems that Wasmer is compiled for including the browser and have the code seamlessly work in all of them, I think that's really promising.

JVM forces you to write in Java or a JVM targeted language but WASM lets you compile any language that creates a WASM backend.

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by vineyardmike on Tuesday May 30, 2023 @01:12PM (#36127505)
This

> JVM forces you to write in Java or a JVM targeted language

And this

> WASM lets you compile any language that creates a WASM backend

Are basically the same thing.

There’s no fundamental reason that all these languages couldn’t target JVM byte code instead of WASM. It never happened, not nearly as much as WASM backends are, but it could’ve.

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by ShroudedNight on Tuesday May 30, 2023 @01:34PM (#36127818)
It seems that NIH also manifests generationally:

? -> CORBA -> RMI -> SOAP -> REST -> GraphQL?

? -> SOA -> Microservices

? -> EDI / X12 -> XML -> JSON

p-code -> ? -> JVM -> WASM

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by pjmlp on Tuesday May 30, 2023 @03:23PM (#36129324)
Before P-Code there were other ones, there were lots of bytecode based platforms.

Burroughs, all Xerox PARC, Lisp Machines, OS/400, Oberon, Limbo, original Modula-2, QuickBasic, Amsterdam Compiler Toolkit, VB, ...

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by paulddraper on Tuesday May 30, 2023 @07:29PM (#36132580)
Okay, but have you used CORBA?

Or EDI?

It's like saying we had the Model T, but people just keep inventing new cars.

Re:WASIX, the Superset of WASI Supporting Threads, Processes... by ShroudedNight on Tuesday May 30, 2023 @09:47PM (#36133559)
I have, albeit not terribly extensively. I will readily agree that there are cogent arguments for replacement that pass the Chesterton's Fence test. But I also see quite a lot of "That's too complicated to bother understanding, I'll just do my own thing"
Re:WASIX, the Superset of WASI Supporting Threads, Processes... by laxd on Tuesday May 30, 2023 @01:37PM (#36127850)
> Compiling native application to operating systems that Wasmer is compiled for including the browser and have the code seamlessly work in all of them.

And thanks to stuff like this, contemporary browsers are now so complicated that they only run on the top handful of platforms. So how is it progress? I bet JVM still runs more places than modern browsers.

> VM forces you to write in Java or a JVM targeted language but WASM lets you compile any language that creates a WASM backend.

WASM forces you to write in something that has a WASM backend just like JVM forces you to write in something that has a JVM backend. It's just the same all over again. And again.