Skip to content

Instantly share code, notes, and snippets.

View canbax's full-sized avatar
👋
hi

Yusuf Canbaz canbax

👋
hi
View GitHub Profile
@canbax
canbax / wasm0.md
Created April 16, 2023 17:41
Can WebAssembly make your web apps faster?

What is WebAssembly?

Assembly?

As we all know, machines read binary codes (strings of zeros and ones) because it is very convenient for them but not for humans. So engineers basically created a mapping from binary code and called the mapped version 'Assembly'.

Assembly and binary code

WebAssembly?

WebAssembly is an 'Assembly'-like language. It's nickname is wasm. Basically WebAssembly is the Assembly language for modern browsers.

People usually don't write Assembly code directly because it can be tedious. That's why there are many Assembly compilers that simply create Assembly code from C/C++, C#, Rust, Java ... So basically you can run an existing C/C++ or Rust application inside a browser.