2. About me
@kjendrzyca / aimforsimplicity.com
Full-stack / Full stack / Fullstack
Smuggling good practices and simplicity
React > Angular
Node.js > ASP.NET
"The goal is to be less wrong all the time" - Elon Musk
3.
4. Fear of missing out / FOMO
"anxiety that an exciting or interesting event may currently be
happening elsewhere, often aroused by posts seen on social media"
5.
6. Profits
1. Is WebAssembly a cure for "slow" JavaScript?
2. Can FOMO be justified this time?
3. Do I need to learn it right now? Can I do it later?
13. // C
int f(int i) {
return i + 1;
}
// JS
function f(i) {
i = i|0;
return (i + 1)|0;
}
// "bitwise OR with zero, an otherwise useless operation,
// converts a value to an integer"
asm.js
21. WASM
language for a conceptual machine
runs on the same VM as JS
fast, efficient, and portable, "near-native speed"
readable and debuggable, "allows code to be written, viewed, and
debugged by hand"
"plays nicely with other web technologies and maintains
backwards compatibility"
W3C
its faster because JIT doesn't need to optimize it, it's already
optimized ahead of time
works as ES2015 module