nowfound

Work · November 9, 2024

Jaws – a JavaScript to WASM ahead-of-time compiler

I've open sourced a JavaScript to WASM compiler. It's an experimental tool, but given the semantics I already implemented, I'm fairly certain I am able to eventually cover 100% of JavaScript spec. Any ideas, questions or critique welcomed! If you are interested in WASM, especially with new proposals like WASM GC or exception handling, it might be a good source of seeing these features in action - the project has a few thousand lines of hand written WAT so far.

Jaws – a JavaScript to WASM ahead-of-time compiler launched on November 9, 2024 with 290 votes, #128 of 4,990 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 3% of November 2024

In plain words

Jaws is an open-source ahead-of-time compiler that converts JavaScript code into WebAssembly. Designed for developers interested in WebAssembly and its emerging features, the experimental tool demonstrates practical implementations of proposals like WASM garbage collection and exception handling through hand-written WebAssembly code. The project is in active development with the potential to eventually support the full JavaScript specification.

written from the facts on this page · September 2026

From the sources

JavaScript to WASM compiler. Contribute to drogus/jawsm development by creating an account on GitHub.

Jawsm (pronounced like "awesome") is a JavaScript to WebAssembly compiler written in Rust. It is similar to porffor in a way it also results in a standalone WASM binary that can be executed without an interpreter, but it takes a different implementation approach. It's an experimental tool and it's not ready for production. A lot of the language features and builtin types are missing or incomplete. That said, my goal is to eventually support 100% of the language. I started this project while working on a stress testing tool called Crows that runs WebAssembly scenarios. At the moment it only supports code compiled from Rust to WASM. As much as I love writing Rust, I also know it's not a…from github.com

Does a similar job

all alternatives →
  • Wrote a tiny WebAssembly (wat2wasm) compiler in Go2022 · github.com · ▲75

    As a personal project I wrote a really tiny Wat 2 Wasm compiler in Go. Mainly for demonstrative and educational purposes. It was tough: I didn't know anything about WebAssembly internals and I'm a newbie with Go... so I tried to document it as much as I could for anyone that would like to approach the quest in the future! It misses a lot of features (that will be gradually implemented). Any feedback is welcomed!! Demo: https://luna-demo.vercel.app

  • I wrote a WebAssembly Interpreter and Toolkit in C2023 · github.com · ▲105

    Web49: WebAssembly Interpeter. Contribute to FastVM/Web49 development by creating an account on GitHub.

  • Attempt to bring a cinematic experience in 256 bytes (WASM)2024 · github.com · ▲133

    repo of my sizecoding entries. Contribute to ilmenit/sizecoding development by creating an account on GitHub.

  • Firefox in WebAssemblyJul 2026 · developer.puter.com · ▲273

    This is the entire Firefox browser rendering to a element. Gecko, all UI components, and the Spidermonkey JS engine are all compiled and running in WebAssembly. Here are a few things you might find interesting: - This is fully end to end encrypted! We use the WISP protocol for TCP-over-websockets. - There is a novel WASM->JS JIT for experimental site speedup - This port cost over 25k in opus/fable tokens for debugging and JIT research This was just a fun experiment to push the boundaries of WebAssembly. For a more usable "browser in browser" experience, we also built…

  • Compiling C in the browser using WebAssembly2024 · wasmer.io · ▲174

    We’ve reached a major milestone in making any software run with WebAssembly. Thanks to the newest release of Wasmer (4.4) and the Wasmer JS SDK (0.8.0) ...

  • QuickBEAM – run JavaScript as supervised Erlang/OTP processesMar 2026 · github.com · ▲113

    QuickBEAM is a JavaScript runtime embedded inside the Erlang/OTP VM. If you’re building a full-stack app, JavaScript tends to leak in anyway — frontend, SSR, or third-party code. QuickBEAM runs that JavaScript inside OTP supervision trees. Each runtime is a process with a `Beam` global that can: - call Elixir code - send/receive messages - spawn and monitor processes - inspect runtime/system state It also provides browser-style APIs backed by OTP/native primitives (fetch, WebSocket, Worker, BroadcastChannel, localStorage, native DOM, etc.). This makes it usable for: - SSR…

More work this month

the category →

Source: Show HN post ↗

Launched alongside, November 2024

the whole month →
  • Lovable▲1,477

    Hey HN! Previous CERN physicist turned hacker here. We've developed a way to make AI coding actually work by systematically identifying and fixing places where LLMs typically fail in full-stack development. Today we're launching as Lovable (previously gptengineer.app) since it's such a big change. The problem? AI writing code typically make small mistakes and then get stuck. Those who tried know the frustration. We fixed most of this by mapping out where LLMs fail in full-stack dev and engineering around those pitfalls with prompt chains. Thanks to this, in all comparisons I found with: v0,…

    AI · 2024 · lovable.dev

  • Superchat▲1,427

    AI Agents for WhatsApp Business, Instagram & Co

    Growth · 2024 · superchat.com

  • Postiz▲1,188

    Streamline your social media with Postiz. Schedule posts, analyze performance, and manage all accounts in one place.

    Dev tools · 2024 · postiz.com

  • I wasn't quite sure if this qualified as "Show HN" given you can't really download it and try it out. However, dang said[0]: > If it's hardware or something that's not so easy to try out over the internet, find a different way to show how it actually works—a video, for example, or a detailed post with photos. Hopefully I did that? Additionally, I've put code and a detailed guide for the netboot computer management setup on GitHub: https://github.com/kentonv/lanparty Anyway, if this shouldn't have been Show HN, I apologize! [0]…

    Dev tools · 2024 · lanparty.house

  • Unlock a new level productivity with AI, Cloud Sync and more

    Work · 2024 · raycast.com

  • Cap▲1,047

    Beautiful screen recordings, owned by you. 100% open source.

    Dev tools · 2024 · cap.so