Presented at All Things Open 2023
Presented by Robert Aboukhalil - CZI
Title: Supercharging tutorials with WebAssembly
Abstract: sandbox.bio is a free platform that features interactive command-line tutorials for bioinformatics. This talk is a deep-dive into how sandbox.bio was built, with a focus on how WebAssembly enabled bringing command-line tools like awk and grep to the web. Although these tools were originally written in C/C++, they all run directly in the browser, thanks to WebAssembly! And since the computations run on each user's computer, this makes the application highly scalable and cost-effective.
Along the way, I'll discuss how WebAssembly works and how to get started using it in your own applications. The talk will also cover more advanced WebAssembly features such as threads and SIMD, and will end with a discussion of WebAssembly's benefits and pitfalls (it's a powerful technology, but it's not always the right tool!).
Find more info about All Things Open:
On the web: https://www.allthingsopen.org/
Twitter: https://twitter.com/AllThingsOpen
LinkedIn: https://www.linkedin.com/company/all-things-open/
Instagram: https://www.instagram.com/allthingsopen/
Facebook: https://www.facebook.com/AllThingsOpen
Mastodon: https://mastodon.social/@allthingsopen
Threads: https://www.threads.net/@allthingsopen
2023 conference: https://2023.allthingsopen.org/
18. When not to use WebAssembly
Too little or too much computation (in the browser)
Frontend UI
High-CPU,
high-RAM,
long running
analysis
Sweet Spot: audio/video processing, gaming, simulations, playgrounds, etc.
19. When not to use WebAssembly
Pre-compiled tools are available
biowasm
ffmpeg.wasm
20. When not to use WebAssembly
Trying to replace containers
Sweet Spot: safely running user-provided code, serverless functions
21. Learn more @ levelupwasm.com
PerfMatters 2019 WasmSF Meetup 2019 Crossing the Wasm Chasm
levelupwasm.com/free
Share feedback in the EventMobi app