In this short talk, we will discuss how it can extend the capabilities of the web as a software plaftorm by examining its existing and planned features.
5. What is WebAssembly
●
Virtual instruction set architecture
●
Bytecode for the web browser
●
Backed by major browser vendors
●
Formats
●
Text (Assembly Language)
●
Binary (Virtual Machine Code)
●
Evolved from its predecessors
●
Java Applets, ActiveX, PNaCl, asm.js & Emscripten @ LLVM
12. Instruction set
●
Integer and floating point data types
●
Basic constructs
●
Blocks
●
Typed functions
●
Calls
●
Conditionals
●
Loops
●
Type checking for direct & indirect calls
●
Similar to JVM bytecode or CIL
13. Memory model
●
Sandboxed linear memory
●
Can be grown programatically
●
Indexed tables
●
Typed elements
●
Indexed local & global variables
●
Mutable or immutable