Threading for WASM target

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • wasm-futures-executor

    Executor for asynchronous task based on wasm web workers.

    I recommend using it through the wasm-futures-executor crate: https://github.com/wngr/wasm-futures-executor.

  • coi-serviceworker

    Cross-origin isolation (COOP and COEP) through a service worker for situations in which you can't control the headers (e.g. GH pages)

    Note that certain secure context headers need to be set for wasm multithreading to work. You could do this in your web server, but a more portable solution is to use a service worker for this: https://github.com/gzuidhof/coi-serviceworker

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts