Goja vs WASM runtime to support scripting

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

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

    wazero: the zero dependency WebAssembly runtime for Go developers

    I'm considering Goja to support this as it seems to be the most common and fairly fast. However, I'm wondering if there are any performance benefits to using something like a WASM runtime. Essentially, I'm thinking I could compile the user js script to WASM, then use something like wazero to run the compiled WASM code. Has anyone experimented with this and seen any major performance benefits (solely looking at the runtime performance)?

  • wasmer

    🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten

    We've integrated wasmer ~1 year ago in our stack (video analytics and editing platform) to enable 3rd party plugins, but I'm not sure that I'd choose it again. The integration ended up too complicated and the thing I disliked most was that we had to reimplement/port a lot of the functionality we already had so that it worked with the wasm apis. I don't have insight on the wasm execution performance because we never really benchmarked it (it wasn't important for our use case since the plugins code is executed only once on app start or when manually triggered from the dashboard).

  • 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