Level up your web tools with WebAssembly
summary
Compiles an existing C QC tool (ctk) to WebAssembly with Emscripten, mounts uploaded FASTQ files into the virtual filesystem, and runs the analysis inside a WebWorker so the UI stays responsive. Out-of-the-box result is about 9x speedup, removing unneeded prints yields ~13x and merging duplicate functions reaches up to 20x speedup; fastq.bio is front-end only and these changes noticeably make the interactive plots update much faster.
AI-written summary · about
chapters (9)
- 0:00Introduction to WebAssembly
- 2:30DNA sequencing data analysis
- 5:20WebAssembly architecture design
- 7:09Compiling C to WebAssembly
- 9:24Performance comparison demo
- 12:36Caveats and limitations
- 13:43Use cases for WebAssembly
- 17:32When not to use WebAssembly
- 18:37Summary and resources
related talks
21mHit the Ground Running with WebAssembly
52mWebAssembly: Taking Your C++ and Going Places
39mBringing the power of C++ to the web
25mFast future with WebAssembly
29mWebAssembly - the Final Frontier
53mWebAssembly – To the browser and beyond!
28mSupercharge your JavaScript with Web Assembly
29mUsing Web Assembly to speed up your WEB Application
