Wasm

WebAssembly (__Wasm__) is a new type of code that can be run in modern web browsers — it is a low-level assembly-like language with a compact binary format that runs with near-native performance and provides languages such as C/C++ with a compilation target so that they can run on the web. It is also designed to run alongside JavaScript, allowing both to work together - developer.mozilla.org

Below are some assets where I show a Live Wasm Demo.

wasm/Wasm

WebAssembly specifies two formats: textual and binary. The textual format is intended to be human-readable — below is an example of a recursive factorial function written in C, and translated to textual WebAssembly:

long fact(long n) { if (n == 0) return 1L; else return n * fact(n - 1); }

The corresponding WebAssembly looks as follows:

get_local 0 i64.eqz if (result i64) i64.const 1 else get_local 0 get_local 0 i64.const 1 i64.sub call 0 i64.mul end