News for hackers. Stuff that matters.
Re:Spin – WebAssembly Framework by Shadonototra on Friday April 01, 2022 @02:46AM (#30875779)
We went full circle... microservices in web assembly.... one of the worst idea of this decade
Re:Spin – WebAssembly Framework by Deukhoofd on Friday April 01, 2022 @02:54AM (#30875818)
How so? I think WASM has major benefits for specific applications, especially for sandboxing, and running things in a cross-platform way. As far as I can tell, it's not that different from what Java and C# do (compile to your own bytecode, run that in a VM), except that you only give it access to specific functions.

While it might be slightly slower than running native code, I think that for certain users those are benefits that they can't overlook.

Re:Spin – WebAssembly Framework by pjmlp on Friday April 01, 2022 @03:20AM (#30875932)
People bashed Java and .NET Application Servers, it turns out they actually had some cool ideas in them.

Naturally now they have to be packaged and sold as a new revolutionary idea for the newer generations.

Re:Spin – WebAssembly Framework by tiborsaas on Friday April 01, 2022 @04:21AM (#30876209)
Since no company owns WebAssembly I'd call this repackaging a win.
Re:Spin – WebAssembly Framework by pjmlp on Friday April 01, 2022 @04:51AM (#30876360)
WebAssembly co-developed by " W3C; Mozilla; Microsoft; Google; Apple" and unless they put the people to develop it further, it stays at it is.

And I wouldn't be surprised if some of those companies wouldn't be feeling like patent ways to compile and optized WebAssembly into native code, or anything else related to tooling.

Re:Spin – WebAssembly Framework by matei_radu on Friday April 01, 2022 @02:52AM (#30875802)
Hi! (one of the authors of Spin here) Interesting to hear your thoughts on this, why do you think that?

We believe that the things that make WebAssembly attractive in the browser (compact binary, near-native speed, the sandbox isolation model) make it really compelling outside the browser, on the server.

Re:Spin – WebAssembly Framework by pjmlp on Friday April 01, 2022 @03:26AM (#30875963)
I think while it is a good idea, more acknolwedgement to previous work should be considered,

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

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

> It has frontends for the following programming languages: C, Pascal, Modula-2, Occam, and BASIC.

> Maximum portability is achieved by using an intermediate language using bytecode, called EM. Each language front-end produces EM object files, which are then processed through several generic optimisers before being translated by a back-end into native machine code.

From https://en.wikipedia.org/wiki/Amsterdam_Compiler_Kit

> The hardware isolation provided by the TIMI allowed IBM to replace the AS/400's 48-bit IMPI architecture with the 64-bit RS64 architecture in 1995. Applications compiled on systems using the IMPI instruction set could run on top of the newer RS64 systems without any code changes, recompilation or emulation, while also allowing those applications to avail of 64-bit addressing

From https://en.wikipedia.org/wiki/IBM_i#TIMI

Re:Spin – WebAssembly Framework by matei_radu on Friday April 01, 2022 @03:42AM (#30876030)
(one of the authors of Spin here.)

I think this is an excellent point — while we do try to give acknowledgement to the previous technology that paved the way for what we are doing (there are a few articles that treat microservices, containers, serverless https://fermyon.com/blog/index), I agree that we could do a better job at talking about programming languages and language runtimes.

Thanks for the suggestion!