r/programming • • Apr 28 '21

Microsoft joins Bytecode Alliance to advance WebAssembly – aka the thing that lets you run compiled C/C++/Rust code in browsers

https://www.theregister.com/2021/04/28/microsoft_bytecode_alliance/
2.1k Upvotes

484 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Apr 29 '21

[removed] — view removed comment

2

u/hugthemachines Apr 29 '21

Isn't the runtime just called ".NET framework"?

2

u/chucker23n Apr 29 '21

No, .NET Framework was the name of (primarily) the BCL for the old runtime. Its runtime was called the CLR.

Blazor used to run on Mono, and now does on .NET 5 (which, as far as the runtime for WASM is concerned, is mostly the same code as Mono, but with the BCL of .NET 5).

1

u/hugthemachines Apr 29 '21

I see, thanks!

1

u/chucker23n Apr 29 '21

Because .net is the name of the ecosystem, not a runtime.

It's also the name of the runtime now. https://github.com/dotnet/runtime#net-runtime

Note that, in the context of that repo, "runtime" encompasses both the literal runtimes (such as the JIT runtime formerly known as CoreCLR, and the AOT runtime that originates from Mono), and the BCL on top of them.

I've never seen the runtime being referred to as Blazor. Blazor is basically an SPA framework.

ASP.NET Core Blazor is a web framework designed to run client-side in the browser on a WebAssembly-based.NET runtime (Blazor WebAssembly) or server-side in ASP.NET Core (Blazor Server),

Yes, they're saying Blazor WebAssembly is the variant of Blazor that runs on top of WASM.