by pjmlp · 2y ago · 0 comments
https://en.wikipedia.org/wiki/Common_Language_Infrastructure
https://ecma-international.org/publications-and-standards/st...
> This Standard defines the Common Language Infrastructure (CLI) in which applications written in multiple high-level languages can be executed in different system environments without the need to rewrite those applications to take into consideration the unique characteristics of those environments.
If Microsoft was not aligned with developers in the early 2000's, that failure is on them.
Plenty of historical attempts to dive into, since 1958.
Now we have startups redoing Java and .NET application servers, with Kubernetes, WebAssembly, WASI, and YAML spaghetti, because that is so much better.
Edge devices running bytecode? That is so last century.
The most exciting part about WASI for me, though, is that it's sticking to a capability-based interface and it's actually gaining a lot of traction. There are few examples of capability systems getting as much attention as this.
Is the idea mainly that permissions are more fine-grained? It probably makes porting existing applications tricky, though, right?
It is like microservices bandwagon nowadays, apparently distributed computing "Network is the Computer", computing agents, distributed objects, and service oriented architectures, also failed by the wayside.
If a new attempt can try the same idea, learn some lessons, and get more traction then I think that's a good thing.
But then Emscripten came along and showed how it's done properly, and everything derived from that (asm.js, WASM, WASI) was just evolution at work.
Last time I checked Emscripten was using Franken-clang.
> Microsoft and its partners hold patents for CLI. Ecma and ISO/IEC require that all patents essential to implementation be made available under "reasonable and non-discriminatory (RAND) terms." It is common for RAND licensing to require some royalty payment, which could be a cause for concern with Mono. As of January 2013, neither Microsoft nor its partners have identified any patents essential to CLI implementations subject to RAND terms.
With such FUD, I guess no wonder CLI didn't have wider adoption.
The open source implementation of CLI was also left to the community, the main one being proprietary. If Microsoft & co wanted an actual usable standard, they could have done a better job.
Now, you are extending the scope to "all bytecode formats ever created" but that's not what I replied to and it makes your point a moving target. But fine, let's extend the scope, though I don't have a particular opinion on WASI, I haven't looked into it much.
How do you feel about the existence of multiple programming languages? CPU instruction sets? serialization formats?
Maybe WASI was specifically designed with the use case at hand and a new design was the better option. Saying previous work exists is not nearly enough. Most things are like this. They build on top of existing stuff taking inspiration from prior work.
I know nothing much about WASI. Convince me that an existing bytecode would have been better. Describe specific and detailed flaws.
Until then I'll just consider you just hate it for some unknown reason, so much you want others to join you.
Whatever you consider me to be, it is your opinion, keep it for yourself, share it with the world, whatever.
Regardless I think WASM and WASI are huge step in right direction since most if not all relevant languages are going to support it.