Show HN: Wipeout-style mini racer written in C++ compiled to WASM for browser ga...
Show HN @show
Show HN: Wipeout-style mini racer written in C++ compiled to WASM for browser gamedevpl.github.io · 4 points · 1 comments · HN thread
TL;DR A Show HN post presenting Neon Grand Prix, a Wipeout-style mini racer whose race simulation, track and ships are written in C++ and compiled to WebAssembly to run in the browser. The author asks whether WebAssembly is an alternative to Tauri for portable games, or whether a hybrid of both makes sense, given they keep their code in TypeScript.
- The game is a Wipeout-style racer where the race simulation, track and ships are built in C++.
- Controls: drag or use left/right (or A/D) to steer, two-finger sideways swipe on a trackpad, up/W to boost, down/S for airbrake, Space to fire, R for rocket, P to pause.
- The author's question: portability of games and content, comparing WebAssembly against the Tauri framework with TypeScript code.
- The author is considering whether a hybrid approach using both WebAssembly and Tauri would be better.
Discussion The thread is very short, with a single top-level comment that praises the game and discusses WebAssembly versus JavaScript for games. The mood is positive and mildly technical, with the commenter contrasting the smooth performance with heavier vibe-coded Three.js web games.
- WASM with C++ suits relatively simple games and ports well (most): The one commenter says WebAssembly is well suited to simpler games and that C or C++ makes code easy to ship on many platforms.
- The game runs smoothly without heating the CPU (some): The commenter reports that, unlike many web games, this one did not spin up CPU fans, which they found notable.
- WASM rendering performance advantage is unclear (a few): The commenter believes WASM may render faster but is unsure why, noting that it still needs a canvas just as JavaScript does.