WebAssembly and SIMD: A match made in the browser

How SIMD makes compute-intensive tools practical on the web

If you’re new to WebAssembly, check out this article first.

What is SIMD anyway?

Test driving WebAssembly SIMD

When running the Smith-Waterman algorithm in the browser, enabling SIMD gets us much closer to native performance! Note that I stopped running the benchmark on “WebAssembly without SIMD” past x = 100 because it took ~10 minutes to run each iteration 😱

📕 📗 📘 If you’re new to WebAssembly and wondering how to get started, check out my book Level up with WebAssembly, a practical and approachable guide to using WebAssembly in your own applications.

Can I use WebAssembly SIMD today?

Should I use WebAssembly SIMD?

Closing remarks

📕 📗 📘 If you enjoyed this article and are looking for a practical guide to WebAssembly, check out my book Level up with WebAssembly.

Learn more about WebAssembly SIMD

--

--

Bioinformatics Software Engineer, Author of Level up with WebAssembly book.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Robert Aboukhalil

Bioinformatics Software Engineer, Author of Level up with WebAssembly book.