There’s a cunning workaround for this challenge; rather than compiling JS to Wasm, you can instead compile a JavaScript engine to WebAssembly then use that to execute your code.

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

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

    Discontinued 📦 WebAssembly Package Manager (CLI)

    You can see this paying off with wapm, which lets you download applications that would have normally required compilation for your environment and run them anywhere with a supported runtime, which is imo pretty neat.

  • lunatic

    Lunatic is an Erlang-inspired runtime for WebAssembly

    There are other interesting applications too, like Lunatic, which replicates the BEAM VM experience but with any language that compiles to wasm and can have language bindings written for it.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • wasm3

    🚀 A fast WebAssembly interpreter and the most universal WASM runtime

    it's been done

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