WebAssembly

By default, the behavior language for browsers has always been JavaScript; unfortunately, a key caveat is the fact that it's an interpreted language that incurs the performance penalty. Wouldn't it be great if browsers supported some binary code format instead? Definitely! That's WebAssembly (Wasm). The idea is that developers can now use higher-level languages, for instance, C++, Rust, C#, Java, and compile those to Wasm standardized binary format.

The benefit is not just performance as it creates new opportunities to do cross-platform development across multiple technologies. Wasm is importable in JavaScript, hence we might consider using it as a bridge between these technologies. Additionally, browsers are not the only platform ...

Get Hands-On Full-Stack Web Development with ASP.NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.