mystralengine/mystralnative
Native WebGPU JS runtime with SDL3
What it solves
Mystral Native.js is a lightweight runtime that allows developers to build native desktop applications using JavaScript or TypeScript and Web APIs, specifically targeting games. It eliminates the need for a full web browser (like Chromium in Electron) while providing native WebGPU rendering for high-performance graphics.
How it works
It acts as a native runtime that maps familiar Web APIs (WebGPU, Canvas 2D, Web Audio, and fetch) to native system libraries. It uses a JavaScript engine (V8, QuickJS, or JSC) and a WebGPU implementation (Dawn or wgpu-native) to execute code and render graphics directly on the hardware across macOS, Windows, and Linux.
Who it’s for
Game developers who want to use web-standard APIs and JavaScript/TypeScript to create high-performance native desktop games without the overhead of a browser.
Highlights
- Browser-less Execution: Runs JS/TS code natively without Chromium, reducing resource overhead.
- WebGPU Support: Full support for native WebGPU rendering for advanced 3D graphics.
- Cross-Platform: Works on macOS, Windows, and Linux, with embedding support for iOS and Android.
- Standalone Binaries: Ability to compile games into single, dependency-free executables.
- API Compatibility: Supports Canvas 2D (via Skia), Web Audio, and TypeScript (via SWC).
Related
- Project
- Project
- Project
- Project
- Project