WinterJS

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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

  • Some fancy indirectly referenced stuff:

    Taking Javascript Code and generating a specialized Interpreter for this Code which can be compiled to Webassembly. (Chris Fallin)

    https://en.wikipedia.org/wiki/Partial_evaluation#Futamura_pr...

    via https://github.com/cfallin/weval

  • workerd

    The JavaScript / Wasm runtime that powers Cloudflare Workers

  • I think this is for people who want to run their own cloudflare workers (sort of) and since nobody wants to run full node for that, they want a small runtime that just executes js/wasm in an isolated way. But I wonder why they don't tell me how I can be sure that this is safe or how it's safe. Surely I can't just trust them and it explicitly mentions that it still has file IO so clearly there is still work I need to do customize the isolation further. But then they don't show any info on that core usecase. But then that's probably because they don't really want you to use this to run it on your own, they are selling you on running things on their edge platform called "Wasmer Edge". So that's probably why this is so light on information.. the motivation isn't to get you to use this yourself, just to use this their hosted edge platform. But then I wonder why I wouldn't just use https://github.com/cloudflare/workerd which is also open source. Surely that is fast enough? If not then it should show some benchmarks?

  • 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.

    WorkOS logo
  • lagon

    Deploy Serverless Functions at the Edge. Current status: Alpha

  • There’s also Lagon that solves that

    https://github.com/lagonapp/lagon

  • ComponentizeJS

    JS -> WebAssembly Component

  • I don't think that's the intended use-case for this.

    If you want to do this, I think something like ComponentizeJS[0] is what you would be looking for. As far as I can tell you'd also need to create WIT (Wasm Interface Type) definitions for the interface(s) that mod_wasm expects for its WASM modules, as they don't provide them themselves.

    [0]: https://github.com/bytecodealliance/componentize-js

  • esbuild

    An extremely fast bundler for the web

  • quickjs

    Public repository of the QuickJS Javascript Engine.

  • > I am still confused, it's a JavaScript runtime intended to be deployed to JavaScript/Wasm runtimes?

    Seemingly.

    > Why does a JavaScript runtime need a JavaScript runtime?

    Because if you want to create a Service Worker server for CloudFlare Workers and other JavaScript/Wasm runtimes, that's the only option for doing that AFAIK.

    FWIW, this isn't a new idea. For example, Figma uses QuickJS (https://bellard.org/quickjs/) for their plug-in runtime: https://www.figma.com/blog/an-update-on-plugin-security/

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