WebAssembly Tutorial - What is WebAssembly - Blazor Webassembly [Blazor WASM]

Coding Droplets
Coding Droplets
3.8 هزار بار بازدید - 2 سال پیش - This is a WebAssembly Tutorial
This is a WebAssembly Tutorial video in which we explains What is WebAssembly and How Web Assembly works. This video will help you learn web assembly (web assembly for beginners / web assembly (wasm) for beginners).

WebAssembly is an open standard for running binary programs in browsers with near-native performance.

.Net Blazor Tutorial Playlist link:
Blazor Tutorial - Beginner to Advanced

Mozilla Developer Center (MDN) WebAssembly Article:
https://developer.mozilla.org/en-US/d...

WebAssembly (abbreviated Wasm) is a binary instruction format for a stack-based virtual machine. Wasm is designed as a portable compilation target for programming languages, enabling deployment on the web for client and server applications.

WebAssembly code is low level binary format, that is compatible with the web and can easily run in modern web browsers. The file size generated is small and it loads and executes faster. You can now compile languages like C, C++, C#, Rust, etc. to binary format and it can run on the web just like javascript.

The WebAssembly (Wasm) stack machine is designed to be encoded in a size- and load-time-efficient binary format. WebAssembly aims to execute at native speed by taking advantage of common hardware capabilities available on a wide range of platforms.

WebAssembly describes a memory-safe, sandboxed execution environment that may even be implemented inside existing JavaScript virtual machines. When embedded in the web, WebAssembly will enforce the same-origin and permissions security policies of the browser.

WebAssembly is designed to be pretty-printed in a textual format for debugging, testing, experimenting, optimizing, learning, teaching, and writing programs by hand. The textual format will be used when viewing the source of Wasm modules on the web.

WebAssembly is designed to maintain the versionless, feature-tested, and backwards-compatible nature of the web. WebAssembly modules will be able to call into and out of the JavaScript context and access browser functionality through the same Web APIs accessible from JavaScript. WebAssembly also supports non-web embeddings.

Pros of WebAssembly:
-  Once the application is loaded to client device, the UI reacts much faster to the user interactions as the entire content of the application has been downloaded on the client-side.
- Since the application is downloaded on the client-side, the application can work offline (except for the API requests to the server)

Cons of WebAssembly:
- The initial loading may take some time.

Blazor WebAssembly [Blazor WASM]:
Blazor can run your client-side C# code directly in the browser, using WebAssembly. Because it's real .NET running on WebAssembly, you can re-use code and libraries from server-side parts of your application.

Learn WASM and WASM is the future web development. In the upcoming sessions we'll be developing a hello world WebAssembly [WASM hello world] application using .NET Blazor.

Video Chapters:
0:00 - Intro
0:41 - What is WebAssembly [WASM]
4:34 - Pros and Cons of WebAssembly
6:11 - Supported Browsers & Languages
7:23 - Introduction to .Net Blazor WebAssmebly

#codingdroplets #webassembly #wasm
2 سال پیش در تاریخ 1400/12/03 منتشر شده است.
3,899 بـار بازدید شده
... بیشتر