No installation required: how WebAssembly is changing scientific computing

3 min read Original article ↗

Enabling code execution in the web browser, the multilanguage tool is powerful but complicated.

Cartoon of a hand passing through a browser window and manipulating pieces of code within.

Illustration: The Project Twins

In late 2021, midway through the COVID-19 pandemic, George Stagg was preparing to give exams to his mathematics and statistics students at the University of Newcastle, UK. Some would use laptops, others would opt for tablets or mobile phones. Not all of them could even use the programming language that was the subject of the test: the statistical language R. “We had no control, really, over what devices those students were using,” says Stagg.

Access options

Access Nature and 54 other Nature Portfolio journals

Get Nature+, our best-value online-access subscription

$32.99 / 30 days

cancel any time

Subscribe to this journal

Receive 51 print issues and online access

$199.00 per year

only $3.90 per issue

Rent or buy this article

Prices vary by article type

from$1.95

to$39.95

Prices may be subject to local taxes which are calculated during checkout

Nature 627, 455-456 (2024)

doi: https://doi.org/10.1038/d41586-024-00725-1

Updates & Corrections

  • Correction 14 March 2024: This Technology feature erroneously stated that data are never transferred to an external server with WebAssembly. In fact, they can be; it is just not required. Also, it wrongly stated that WebAssembly is limited to 32-bit numbers. It can handle 64-bit numbers, but is limited to 32-bit memory addresses.

References

  1. Ji, D., Aboukhalil, R. & Moshiri, N. Bioinformatics 40, btae018 (2024).

    Article  PubMed  Google Scholar 

  2. Usher, W. & Pascucci, V. Preprint at arXiv https://doi.org/10.48550/arXiv.2009.03254 (2020).

  3. Herzberger, L. et al. Preprint at arXiv https://doi.org/10.48550/arXiv.2309.04393 (2023).

Download references

Subjects

Latest on: