what we are up to
https://hackforacause.org
AWS Microservice Workshop
Thank you to everyone that donated their time!!!
https://github.com/eugenewebdevs/workshops
Weekend Events
No more live streams in favor or higher quality recordings.
in your browser
Will continue to be the scripting language in the browser.
People will still use it for everything even when it's not the best idea.
Meant to work with JavaScript by design (Sorry NO KILLING).
Very new. Has a long way to go for everyday use.
Designed as a portable target for compilation of high-level languages like C/C++/Rust, enabling deployment on the web for client and server applications.
stolen from: https://blog.sessionstack.com/how-javascript-works-a-comparison-with-webassembly-why-in-certain-cases-its-better-to-use-it-d80945172d79
Feb 2017 - WebAssembly consensus and end of Browser Preview
March 2017
Oct 2017
Sept 2017
April 2017
https://caniuse.com/#feat=wasm
enabled in browser by default
(including mobile)
Emscripten provides numerous methods to connect and interact between JavaScript and compiled C or C++
After we write C code, we compile with emscripten to generate a .wasm
in my browser
#include <emscripten.h>
EM_JS(void, call_alert, (), {
alert('hello world!');
throw 'all done';
});
int main() {
call_alert();
return 0;
}EM_JS(void, call_alert, (), {
alert('hello world!');
throw 'all done';
});
int main() {
call_alert();
return 0;
}int x = EM_ASM_INT({
console.log('I received: ' + $0);
return $0 + 1;
}, 100);
printf("%d\n", x);EM_JS’s implementation is essentially a shorthand for implementing a JavaScript library.
Also it's like just running eval
Type is going to matter on the JS side.
https://developer.mozilla.org/en-US/docs/WebAssembly/Loading_and_running
WebAssembly.instantiateStreaming(fetch('simple.wasm'), importObject)
.then(results => {
// Do something with the results!
});https://www.funkykarts.rocks/demo.html
https://www.rossis.red/wasm.html
https://github.com/shamadee/web-dsp
https://webassembly.org/docs/future-features/
You will need to care about type more, and may pass off parts of your page experience to wasm
Congrats you are a new kind of front end web dev now.
Welcome to the show.
Take Aways