Show HN: Write Node.js code in Rust to achieve massive HTTP throughput

Speed thrills, but devs side‑eye AI blurbs and mystery binaries

TLDR: Brahma‑JS claims Node‑level ease with Rust‑grade speed, sustaining 130k+ requests per second. The crowd’s split: excited by performance, but wary of AI‑written blurbs and precompiled binaries on npm, with a side debate on whether to just write services in Rust instead—speed vs trust is the headline.

Brahma‑JS just dropped a flashy claim: a Node.js server with a Rust core blasting through 130k+ requests per second on a simple “Hello” route. It promises Rust‑level speed with familiar Express‑style code (that’s the popular web toolkit many JavaScript devs use), and ships as a lightweight binary via brahma‑firelight. Translation: big speed, no Rust writing, click “install,” go fast.

But the crowd didn’t just cheer—they brought popcorn. The top vibe? Trust issues. One commenter side‑eyed the “AI generated descriptions”, saying it makes them hesitate. Another waved the big red flag at pre‑compiled binaries coming from npm (the app store for Node), joking that “npm PTSD” is real after past supply‑chain scares. Cue the meme: Rust bros vs JS devs. The Rust camp asked, “Why not skip Node and just use Rust?” while JavaScript fans countered: teams ship faster with familiar tools, and Rust can be a steep mountain.

Benchmarks sparked their own drama: “Cool numbers, but it’s a Hello World route—try a real workload.” Yet even skeptics admitted the performance flex is eye‑catching. The mood is split: speed thrills, but transparency and source code will decide whether this is a rocket ship or a red flag.

Key Points

  • Brahma-JS is a JavaScript orchestrator with an Express-like API and a Rust core built on Tokio and Hyper.
  • Benchmarks using wrk report ~130,899 requests/sec and 1.51 ms average latency on a virtualized Intel i5-12450H with 200 concurrent connections over 10 seconds.
  • The project provides a lightweight, zero-dependency binary and aims to deliver Rust-level performance without requiring developers to write Rust.
  • Installation is available via multiple JS package managers (npm, yarn, pnpm, bun, nypm) using the brahma-firelight package.
  • Sample code demonstrates server setup, configurable response timeout and body size, CORS and auth middleware, and routes returning JSON, HTML, async responses, and handling POST JSON.

Hottest takes

“AI generated descriptions” — toonewbie
“anything from npmjs should already raise red flags” — sintax
“Why not bypass Node.js entirely” — captain_coffee
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.