Hacker News with Generative AI: JavaScript

Mithril.js: small (8.96 KB gzipped) modern client-side JavaScript framework (github.com/MithrilJS)
A modern client-side JavaScript framework for building Single Page Applications. It's small (8.96 KB gzipped), fast and provides routing and XHR utilities out of the box.
Endor: WebAssembly-Based Server in the Browser (thenewstack.io)
Show HN: Wasp – the first full-stack framework powered by an LLM (wasp.sh)
For those of you who are new here, we have been building a full-stack, batteries-included web framework for the last four years. You can think of Wasp as a modern, JS-based incarnation of Laravel, Django or Ruby on Rails. We based it on a custom compiler so it doesn’t depend on the specific stack or the architecture in the long run (currently it supports React, Node.js and Prisma).
Show HN: Nue – Apps lighter than a React button (nuejs.org)
On this release we're showing what you can do by taking the modern web standards — HTML, CSS, and JS — to their absolute peak:
V8: From CFG to Sea of Nodes and back again (v8.dev)
V8’s end-tier optimizing compiler, Turbofan, is famously one of the few large-scale production compilers to use Sea of Nodes (SoN). However, since almost 3 years ago, we’ve started to get rid of Sea of Nodes and fall back to a more traditional Control-Flow Graph (CFG) Intermediate Representation (IR), which we named Turboshaft.
Show HN: JavaScript PubSub in 163 Bytes (github.com/hassanshaikley)
The smallest PubSub library possible. Zero Dependencies. 149 bytes.
Show HN: Chip-8 emulator written in JavaScript (github.com/victorqribeiro)
A Chip8 emulator written in JavaScript.
Intro to Alpine.js: A JavaScript framework for minimalists (infoworld.com)
Alpine.js is a front-end JavaScript framework fashioned like a lightweight backpack, with a minimalist API and thoughtful features. Let's give it a try.
Bulletproof Sessions: Secure Session Handling Without Cookies (tudorconstantin.com)
As if there weren't enough session handling mechanisms (session id's in each URL, cookies, http only cookies, JWT tokens in the request header), let me introduce you a novel one: having a service worker that intercepts and cryptographically signs all the requests to the origin.
Land ahoy: leaving the Sea of Nodes (v8.dev)
V8’s end-tier optimizing compiler, Turbofan, is famously one of the few large-scale production compilers to use Sea of Nodes (SoN). However, since almost 3 years ago, we’ve started to get rid of Sea of Nodes and fall back to a more traditional Control-Flow Graph (CFG) Intermediate Representation (IR), which we named Turboshaft.
Writing a tiny undo/redo stack in JavaScript (julik.nl)
I’ve needed this before - a couple of times. Third time I figured I needed something small, nimble - yet complete. And - at the same time - wondering about how to do it in a very simple manner. I think it worked out great, so let’s dig in.
Move on to ESM-Only (antfu.me)
Three years ago, I wrote a post about shipping ESM & CJS in a single package, advocating for dual CJS/ESM formats to ease user migration and trying to make the best of both worlds.
Svelte: $derived can now be overwritten (github.com/sveltejs)
Show HN: Minimal JavaScript/TS framework that made us 10k in 10 days (github.com/The-Pocket-World)
Enable LLMs to Program Themselves.
Show HN: AgentKit – JavaScript Alternative to OpenAI Agents SDK with Native MCP (github.com/inngest)
Build multi-agent networks in TypeScript with deterministic routing and rich tooling via MCP.
Konva.js - Declarative 2D Canvas for React, Vue, and Svelte (konvajs.org)
The ultimate bridge between your Vanilla JS app and canvas graphics
Alpine.js devtools no longer supported on Chrome (github.com/alpine-collective)
Next.js vs. TanStack (kylegill.com)
Over the past few months, I’ve moved as much code as possible away from Next.js.
ASK HN: How to engineer a JavaScript to Python migration? (ycombinator.com)
I was tasked with migrating a legacy workflow system (Broadcom CA Workflow Automation) to Airflow.
Show HN: Bubbles, a vanilla JavaScript web game (ehmorris.com)
Reverse engineering OpenAI code execution to make it run C and JavaScript (twitter.com)
Something went wrong, but don’t fret — let’s give it another shot.
A Perplexing JavaScript Parsing Puzzle (hillelwayne.com)
Why Go? (github.com/microsoft)
Language choice is always a hot topic! We extensively evaluated many language options, both recently and in prior investigations. We also considered hybrid approaches where certain components could be written in a native language, while keeping core typechecking algorithms in JavaScript. We wrote multiple prototypes experimenting with different data representations in different languages, and did deep investigations into the approaches used by existing native TypeScript parsers like swc, oxc, and esbuild.
Show HN: 6DoF Object detection and tracking in web browser – WebAR.rocks.train (github.com/WebAR-rocks)
Fast-PNG: PNG image decoder and encoder (github.com/image-js)
PNG image decoder and encoder written entirely in JavaScript.
Mako: Fast, production-grade web bundler (makojs.dev)
Mako is a new web bundler for Web App, Library, and Framework. It's designed to be fast, reliable, and easy to use. It has been used in hundreds of projects in production by Ant Group, and other companies. If you are looking for a modern web bundler, Mako is the right choice.
Gleam v1.9 (gleam.run)
Gleam is a type-safe and scalable language for the Erlang virtual machine and JavaScript runtimes. Today Gleam v1.9.0 has been published. Let’s take a look!
Ruby Dooby Doo (github.com/daz4126)
Helping JS do more Ruby.
Compilation of JavaScript to WASM, Part 3: Partial Evaluation (cfallin.org)
This is the final post of a three-part series covering my work on "fast JS on Wasm"; the first post covered PBL, a portable interpreter that supports inline caches, the second post covered ahead-of-time compilation in general terms, and this post discusses how we actually build the ahead-of-time compiler backends. Please read the first two posts for useful context!
Node just added TypeScript support (deno.com)
Node.js recently added native TypeScript support in version 22.6 (stabilized in 23.6), a welcome enhancement simplifying setups for TypeScript users. This has sparked questions within the community about how Node’s new capabilities compare with Deno’s existing TypeScript integration.