cover-img

What is Web Assembly ? 🌐

I have been learning about Web Assembly and its Applications. Here's what I have learnt. 👇🏽

26 July, 2022

10

10

1

Web Assembly (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.

What does this even mean ?

In simple words, Web Assembly (WASM) allows high level languages like RUST and GO to run directly on the web browser without any installations. It allows the languages to be compiled into a binary code that can run on majority of browsers.

Why JavaScript isn't enough ?

JavaScript is an Interpreted language. It's also an easily hackable language.
So in order to make your application secure you have to make a bunch of validations even to do the simplest things.

JavaScript code takes more steps than WASM code in order to be run by the browser.

img

JS Code Execution

img

WASM Code Execution

Most Widely used Software Which Uses Web Assembly -

Figma

Have a look at this awesome article by Figma -

Google Earth & Auto Cad Web are also widely used applications which use WASM.

No ! JavaScript Developers are not in trouble !!

The main use of WASM is to do heavier calculations and computations which will eventually help in sharing the load with JavaScript.

JS & WASM combined together can deliver much more than you expect only with JS, that too in the most efficient way.

References-

Let me know your thoughts on WASM in the comments.

Hope you learnt something new.

Follow me @sumedh

❤️ is always appreciated.

javascript

web development

html5

frontend

backend

10

10

1

javascript

web development

html5

frontend

backend

Sumedh Dixit 🧿
UI / UX Developer, Cloud Computing Enthusiast. B. Tech. CSE Pre-final year student. ReactJS | Figma | Google Cloud |

More Articles

Showwcase is a professional tech network with over 0 users from over 150 countries. We assist tech professionals in showcasing their unique skills through dedicated profiles and connect them with top global companies for career opportunities.

© Copyright 2024. Showcase Creators Inc. All rights reserved.