frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Journey – A Custom 2D ECS Game Engine Written in Rust and WGPU

https://ujjwalvivek.com/blog/proj_0004_rust_game_engine.md
9•ujjwalvivek•2h ago

Comments

ujjwalvivek•2h ago
OP here. "Journey" is my long-term R&D project to understand modern rendering pipelines and system architecture constraints. It's a custom 2D ECS engine written in Rust and wGPU that compiles to WebAssembly.

I intend to keep developing this indefinitely as a playground for graphics programming.

The hardest technical hurdles so far were (but not limited to): 1. The Async Loop: Re-architecting the main game loop to play nice with the browser's requestAnimationFrame (inverting control to avoid thread blocking). 2. WASM DPI Scaling and Pixel Ratios: Handling high-DPI/Retina scaling manually in wGPU so the canvas doesn't look blurry or cropped on mobile. 3. Safe ECS: Fighting the borrow checker to build a System Runner that allows mutable component access without runtime panics.

The submitted link is a peek/dive into the architecture.

Live Demo: https://journey.ujjwalvivek.com Source Code: https://github.com/ujjwalvivek/journey

I am actively looking for others to hop on and work on this! If you've been wanting to learn wGPU, experiment with ECS architecture, or just fix my terrible shaders, I'd love to review your PRs.

Happy to answer questions about the Rust -> WASM pipeline or wGPU witchcraft!

Hammershaft•1h ago
On a mobile device I can't interact with the game, consider detecting mobile screen sizes and loading some gifs :)
ujjwalvivek•1h ago
Thanks for checking it out!

You are spot on. The rendering pipeline is fully optimized for mobile and should be hitting 60FPS, but the Input System is currently wired to physical events (WASD/Gamepad).

I prioritized the wGPU rendering performance for this release, so touch controls are the next thing on my backlog for v0.3.0. Appreciate the feedback!

owenpalmer•30m ago
Why do you need a loading screen to show me a markdown file?

Dark web agent spotted bedroom wall clue to rescue girl from abuse

https://www.bbc.com/news/articles/cx2gn239exlo
113•colinprince•1h ago•52 comments

Study: Self-generated Agent Skills are useless

https://arxiv.org/abs/2602.12670
255•mustaphah•4h ago•109 comments

14-year-old Miles Wu folded origami pattern that holds 10k times its own weight

https://www.smithsonianmag.com/innovation/this-14-year-old-is-using-origami-to-design-emergency-s...
410•bookofjoe•7h ago•82 comments

AI is destroying Open Source, and it's not even good yet

https://www.jeffgeerling.com/blog/2026/ai-is-destroying-open-source/
110•VorpalWay•1h ago•67 comments

Rise of the Triforce

https://dolphin-emu.org/blog/2026/02/16/rise-of-the-triforce/
101•max-m•4h ago•8 comments

Show HN: Scanned 1927-1945 Daily USFS Work Diary

https://forestrydiary.com/
51•dogline•2h ago•8 comments

Show HN: Free Alternative to Wispr Flow, Superwhisper, and Monologue

https://github.com/zachlatta/freeflow
97•zachlatta•5h ago•48 comments

What your Bluetooth devices reveal

https://blog.dmcc.io/journal/2026-bluetooth-privacy-bluehood/
313•ssgodderidge•11h ago•124 comments

Visual Introduction to PyTorch

https://0byte.io/articles/pytorch_introduction.html
127•0bytematt•3d ago•12 comments

Testing Postgres race conditions with synchronization barriers

https://www.lirbank.com/harnessing-postgres-race-conditions
65•lirbank•5h ago•32 comments

PCB Rework and Repair Guide [pdf]

https://www.intertronics.co.uk/wp-content/uploads/2017/05/PCB-Rework-and-Repair-Guide.pdf
95•varjag•2d ago•29 comments

Building for an audience of one: starting and finishing side projects with AI

https://codemade.net/blog/building-for-one/
9•lorisdev•2h ago•0 comments

Suicide Linux (2009)

https://qntm.org/suicide
83•icwtyjj•5h ago•51 comments

Qwen3.5: Towards Native Multimodal Agents

https://qwen.ai/blog?id=qwen3.5
383•danielhanchen•16h ago•180 comments

State of Show HN: 2025

https://blog.sturdystatistics.com/posts/show_hn/
60•kianN•6h ago•12 comments

Turing Labs (YC W20) Is Hiring – Founding GTM Sales Hacker

1•turinglabs•5h ago

PascalABC.net

https://pascalabc.net:443/en
27•andsoitis•2d ago•7 comments

Running NanoClaw in a Docker Shell Sandbox

https://www.docker.com/blog/run-nanoclaw-in-docker-shell-sandboxes/
62•four_fifths•3h ago•22 comments

Neurons outside the brain

https://essays.debugyourpain.com/p/you-are-not-just-your-brain
58•yichab0d•7h ago•21 comments

Show HN: Jemini – Gemini for the Epstein Files

https://jmail.world/jemini
261•dvrp•20h ago•48 comments

Show HN: Andrej Karpathy's microgpt.py to C99 microgpt.c – 4,600x faster

https://github.com/enjector/microgpt-c
45•Ajay__soni•2h ago•6 comments

What every compiler writer should know about programmers (Anton Ertl, 2015) [pdf]

https://www.complang.tuwien.ac.at/kps2015/proceedings/KPS_2015_submission_29.pdf
4•tosh•3d ago•0 comments

Hear the "Amati King Cello", the Oldest Known Cello in Existence

https://www.openculture.com/2021/06/hear-the-amati-king-cello-the-oldest-known-cello-in-existence...
11•tesserato•3d ago•4 comments

Ghidra by NSA

https://github.com/NationalSecurityAgency/ghidra
312•handfuloflight•2d ago•176 comments

Show HN: 2D Coulomb Gas Simulator

https://simonhalvdansson.github.io/2D-Coulomb-Gas-Tools/index_gpu.html
30•swesnow•6h ago•5 comments

The long tail of LLM-assisted decompilation

https://blog.chrislewis.au/the-long-tail-of-llm-assisted-decompilation/
48•knackers•7h ago•13 comments

LCM: Lossless Context Management [pdf]

http://papers.voltropy.com/LCM
28•ClintEhrlich•7h ago•14 comments

Show HN: Maths, CS and AI Compendium

https://github.com/HenryNdubuaku/maths-cs-ai-compendium
54•HenryNdubuaku•10h ago•14 comments

How to take a photo with scotch tape (lensless imaging) [video]

https://www.youtube.com/watch?v=97f0nfU5Px0
108•surprisetalk•9h ago•5 comments

Privilege is bad grammar

https://tadaima.bearblog.dev/privilege-is-bad-grammar/
225•surprisetalk•8h ago•227 comments