frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Mystral Native – Run JavaScript games natively with WebGPU (no browser)

https://github.com/mystralengine/mystralnative
12•Flux159•2d ago
Hi HN, I've been building Mystral Native — a lightweight native runtime that lets you write games in JavaScript/TypeScript using standard Web APIs (WebGPU, Canvas 2D, Web Audio, fetch) and run them as standalone desktop apps. Think "Electron for games" but without Chromium. Or a JS runtime like Node, Deno, or Bun but optimized for WebGPU (and bundling a window / event system using SDL3).

Why: I originally started by starting a new game engine in WebGPU, and I loved the iteration loop of writing Typescript & instantly seeing the changes in the browser with hot reloading. After getting something working and shipping a demo, I realized that shipping a whole browser doesn't really work if I also want the same codebase to work on mobile. Sure, I could use a webview, but that's not always a good or consistent experience for users - there are nuances with Safari on iOS supporting WebGPU, but not the same features that Chrome does on desktop. What I really wanted was a WebGPU runtime that is consistent & works on any platform. I was inspired by deno's --unsafe-webgpu flag, but I realized that deno probably wouldn't be a good fit long term because it doesn't support iOS or Android & doesn't bundle a window / event system (they have "bring your own window", but that means writing a lot of custom code for events, dealing with windowing, not to mention more specific things like implementing a WebAudio shim, etc.). So that got me down the path of building a native runtime specifically for games & that's Mystral Native.

So now with Mystral Native, I can have the same developer experience (write JS, use shaders in WGSL, call requestAnimationFrame) but get a real native binary I can ship to players on any platform without requiring a webview or a browser. No 200MB Chromium runtime, no CEF overhead, just the game code and a ~25MB runtime.

What it does: - Full WebGPU via Dawn (Chrome's implementation) or wgpu-native (Rust) - Native window & events via SDL3 - Canvas 2D support (Skia), Web Audio (SDL3), fetch (file/http/https) - V8 for JS (same engine as Chrome/Node), also supports QuickJS and JSC - ES modules, TypeScript via SWC - Compile to single binary (think "pkg"): `mystral compile game.js --include assets -o my-game` - macOS .app bundles with code signing, Linux/Windows standalone executables - Embedding API for iOS and Android (JSC/QuickJS + wgpu-native)

It's early alpha — the core rendering path works well & I've tested on Mac, Linux (Ubuntu 24.04), and Windows 11, and some custom builds for iOS & Android to validate that they can work, but there's plenty to improve. Would love to get some feedback and see where it can go!

MIT licensed.

Repo: https://github.com/mystralengine/mystralnative

Docs: https://mystralengine.github.io/mystralnative/

Comments

iddan•1h ago
Cool project and very clear explanation for the motivation kudos!
auyez•1h ago
Great project! I also had similar thoughts when I saw ability to make WebGPU calls in deno. I wonder how performant could games get on this runtime

Moltbook

https://www.moltbook.com/
181•teej•3h ago•83 comments

Grid: Free, local-first, browser-based 3D printing/CNC/laser slicer

https://grid.space/stem/
258•cyrusradfar•8h ago•83 comments

The Dank Case for Scrolling Window Managers

https://tedium.co/2026/01/29/niri-danklinux-scrolling-window-managers/
48•todsacerdoti•2h ago•18 comments

PlayStation 2 Recompilation Project Is Absolutely Incredible

https://redgamingtech.com/playstation-2-recompilation-project-is-absolutely-incredible/
383•croes•12h ago•172 comments

Project Genie: Experimenting with infinite, interactive worlds

https://blog.google/innovation-and-ai/models-and-research/google-deepmind/project-genie/
547•meetpateltech•14h ago•258 comments

Photoroom (YC S20) Is Hiring a Head of Cross-Platform (Rust) in Paris

https://jobs.ashbyhq.com/photoroom/dc994a7c-e104-46e1-81c3-b88d635398b9
1•ea016•14m ago

Claude Code daily benchmarks for degradation tracking

https://marginlab.ai/trackers/claude-code/
642•qwesr123•17h ago•303 comments

Retiring GPT-4o, GPT-4.1, GPT-4.1 mini, and OpenAI o4-mini in ChatGPT

https://openai.com/index/retiring-gpt-4o-and-older-models/
153•rd•10h ago•227 comments

Stargaze: SpaceX's Space Situational Awareness System

https://starlink.com/updates/stargaze
51•hnburnsy•4h ago•11 comments

AGENTS.md outperforms skills in our agent evals

https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals
292•maximedupre•18h ago•122 comments

OpenClaw – Moltbot Renamed Again

https://openclaw.ai/blog/introducing-openclaw
7•ed•1h ago•2 comments

The WiFi only works when it's raining (2024)

https://predr.ag/blog/wifi-only-works-when-its-raining/
156•epicalex•10h ago•53 comments

Doin' It with a 555: One Chip to Rule Them All

https://aashvik.com/posts/555-revolution/
7•MonkeyClub•2d ago•5 comments

Backseat Software

https://blog.mikeswanson.com/backseat-software/
71•zdw•9h ago•9 comments

Flameshot

https://github.com/flameshot-org/flameshot
167•OsrsNeedsf2P•11h ago•58 comments

My Mom and Dr. DeepSeek (2025)

https://restofworld.org/2025/ai-chatbot-china-sick/
167•kieto•12h ago•91 comments

CISA’s acting head uploaded sensitive files into public version of ChatGPT

https://www.politico.com/news/2026/01/27/cisa-madhu-gottumukkala-chatgpt-00749361
126•rurp•2d ago•212 comments

The Home Computer Hybrids: Atari, TI, and the FCC

https://technicshistory.com/2026/01/25/the-home-computer-hybrids/
17•cfmcdonald•3d ago•0 comments

Nannou – A creative coding framework for Rust

https://github.com/nannou-org/nannou
14•dmit•2d ago•0 comments

Two days of oatmeal reduce cholesterol level

https://www.uni-bonn.de/en/news/017-2026
84•brandonb•4h ago•65 comments

The paper model houses of Peter Fritz (2013)

https://socks-studio.com/2013/12/06/the-imaginary-town-of-an-unconscious-architect-the-387-paper-...
11•NaOH•2d ago•0 comments

Launch HN: AgentMail (YC S25) – An API that gives agents their own email inboxes

141•Haakam21•14h ago•145 comments

A lot of population numbers are fake

https://davidoks.blog/p/a-lot-of-population-numbers-are-fake
321•bookofjoe•17h ago•266 comments

Show HN: Ourguide – OS wide task guidance system that shows you where to click

https://ourguide.ai
46•eshaangulati•3d ago•22 comments

Is the RAM shortage killing small VPS hosts?

https://www.fourplex.net/2026/01/29/is-the-ram-shortage-killing-small-vps-hosts/
156•neelc•15h ago•191 comments

Employers, please use postmarked letters for job applications (2025)

https://soapstone.mradford.com/employers-use-letters-for-job-applications/
56•MattyRad•8h ago•64 comments

Show HN: Mystral Native – Run JavaScript games natively with WebGPU (no browser)

https://github.com/mystralengine/mystralnative
13•Flux159•2d ago•2 comments

Waymo robotaxi hits a child near an elementary school in Santa Monica

https://techcrunch.com/2026/01/29/waymo-robotaxi-hits-a-child-near-an-elementary-school-in-santa-...
417•voxadam•17h ago•663 comments

Moltworker: a self-hosted personal AI agent, minus the minis

https://blog.cloudflare.com/moltworker-self-hosted-ai-agent/
198•ghostwriternr•16h ago•61 comments

Software is mostly all you need

https://softwarefordays.com/post/software-is-mostly-all-you-need/
45•jbmilgrom•8h ago•37 comments