News for hackers. Stuff that matters.
Re:Missing the Point of WebAssembly by satvikpendem on Wednesday January 10, 2024 @12:58AM (#38936744)
If those all compiled to WASM, then you can mix and match freely.
Re:Missing the Point of WebAssembly by pjmlp on Wednesday January 10, 2024 @01:33AM (#38936965)
Already possible in .NET for years, it is called Common Language Runtime for a reason.

Also TIMI on IBM i, language environments on z/OS, among other examples.

Re:Missing the Point of WebAssembly by satvikpendem on Wednesday January 10, 2024 @01:44AM (#38937040)
True, but imagine being able to interop with all the languages ;)
Re:Missing the Point of WebAssembly by pjmlp on Wednesday January 10, 2024 @01:56AM (#38937081)
I don't need to imagine,

> More than 20 programming tools vendors offer some 26 programming languages — including C++, Perl, Python, Java, COBOL, RPG and Haskell — on .NET.

Taken from https://news.microsoft.com/2001/10/22/massive-industry-and-d...

In 2001.

Re:Missing the Point of WebAssembly by tredre3 on Wednesday January 10, 2024 @03:13AM (#38937580)
https://en.wikipedia.org/wiki/List_of_CLI_languages

At first it seems like an impressive list of languages! But upon closer inspection, over half of them are either abandoned or are commercial products that have been coasting mostly unmaintained for a decade... By now even the JVM ecosystem is a lot healthier.

With WebAssembly, all languages[1] supported by LLVM can be compiled with no custom compiler nonsense. AND we get all the languages[2] that depend on those languages for free as well! The entire burden is on LLVM (and soon GCC) with everything benefiting downstream, surely you can see how it's different from CLI/JVM?

This time the compile-once-run-everywhere promise might actually be true.

1. C, C++, Zig, Rust, etc 2. Python, Perl, PHP, Lua, we can even do some inception with webassembly runtimes.

Re:Missing the Point of WebAssembly by pjmlp on Wednesday January 10, 2024 @03:32AM (#38937729)
Just like it happened during the last 25 years, the amount of languages where people will be willing to keep the effort, daily, will fade way.

Or the money from all those VC firms betting the farm on Webassembly startups will dry out.

Until someone comes up with yet another bytecode format, claiming yet again to be UNCOL from 1958.

https://en.wikipedia.org/wiki/UNCOL

Re:Missing the Point of WebAssembly by satvikpendem on Wednesday January 10, 2024 @05:05PM (#38943977)
LLVM is now the modern version of UNCOL, it seems.
Re:Missing the Point of WebAssembly by mr_toad on Wednesday January 10, 2024 @06:28PM (#38945095)
> With WebAssembly, all languages[1] supported by LLVM can be compiled with no custom compiler nonsense.

You can do that without WASM. This really reinforces the authors point.