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
8•ujjwalvivek•1h ago

Comments

ujjwalvivek•1h 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•13m ago
On a mobile device I can't interact with the game, consider detecting mobile screen sizes and loading some gifs :)
ujjwalvivek•7m 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!

Meta: Messenger.com is no longer available for messaging

https://www.facebook.com/help/messenger-app/804132271957789
1•ddxv•43s ago•1 comments

OddsRabbit- Reddit Alternative that doesn't allow politics. Only hobbies

https://play.google.com/store/apps/details?id=com.oddsrabbit.app&hl=en_US
1•Gothypink•1m ago•0 comments

The AWS Marketplace Race Condition Nobody Warns You About

https://sidshome.wordpress.com/2026/02/16/the-aws-marketplace-race-condition-nobody-warns-you-about/
1•sijain2•1m ago•0 comments

Humanoids go mainstream as China's robotics champions appear at CCTV spectacle

https://www.scmp.com/tech/big-tech/article/3343634/chinas-tech-companies-vie-attention-cctvs-fest...
2•akyuu•1m ago•0 comments

The claws are open, until they close around you, out of your control

https://blog.inconsistentrecords.co.uk/blog/the-claws-are-open-until-they-close-around-you/
1•circadian•2m ago•0 comments

Friday CLI: The first multi-modal CLI Agent (chat/voice/video/images)

https://www.npmjs.com/package/@tryfridayai/cli
1•datacog•3m ago•0 comments

Is End-to-End Encryption Optional for Large Groups?

https://soatok.blog/2026/02/14/is-end-to-end-encryption-optional-for-large-groups/
1•birdculture•4m ago•0 comments

Nimslo stereo camera

https://en.wikipedia.org/wiki/Nimslo
1•petethomas•7m ago•0 comments

Cowork: Claude Code Power for Knowledge Work

https://claude.com/product/cowork
1•Anon84•10m ago•0 comments

More macOS 26.3 Finder column view silliness

https://lapcatsoftware.com/articles/2026/2/4.html
3•JumpCrisscross•11m ago•0 comments

This Is What Destroying the Vaccine Market Looks Like

https://www.thebulwark.com/p/this-is-what-destroying-the-vaccine-market-looks-like-moderna-flu-pr...
3•hn_acker•14m ago•3 comments

White House uses USAID funds for budget director Vought's security

https://www.reuters.com/world/us/white-house-uses-usaid-funds-budget-director-voughts-security-do...
2•hn_acker•15m ago•1 comments

Interleaved HTML Streaming (Patching)

https://github.com/WICG/declarative-partial-updates/blob/main/patching-explainer.md
2•jicea•17m ago•0 comments

Walking Duluth

https://walkingtheworld.substack.com/p/walking-duluth
2•paulpauper•17m ago•0 comments

Why I Built Reader: Open-source web scraping for LLMs

https://reader.dev/blog/why-i-built-reader
2•nihalwashere•18m ago•1 comments

OpenClaw and the Great Hiring Hiatus

https://jcalfromallin.substack.com/p/openclaw-and-the-great-hiring-hiatus
1•jhonovich•22m ago•2 comments

The Universal Code

https://randommacro394532.substack.com/p/the-universal-code
2•mramirez97•27m ago•0 comments

New GitHub repository settings to configure pull request access

https://github.com/orgs/community/discussions/187038
2•cpeterso•31m ago•0 comments

GrowthClaw, Distribution Infrastructure for OpenClaw

https://github.com/mrrkrieg/growthclaw
1•dankrieg•32m ago•2 comments

Economic Espionage and Innovation Restrictions (2025) [pdf]

https://andrew-kao.github.io/files/Espionage_draft_20251231.pdf
1•walterbell•33m ago•2 comments

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

https://www.jeffgeerling.com/blog/2026/ai-is-destroying-open-source/
4•VorpalWay•33m ago•4 comments

Biggest Computer Science Breakthroughs in 2025 [video]

https://www.youtube.com/watch?v=DFwppvrL_pE
1•guiambros•36m ago•0 comments

Moonrepo V2 RC

https://moonrepo.dev/blog/moon-v2-rc
1•NamlchakKhandro•36m ago•0 comments

Show HN: Envref – separating secrets from config in .env files

https://xcke.github.io/envref/
1•xcke•38m ago•0 comments

Show HN: Tilth v0.4.1 – 29% cheaper Sonnet, 22% on Opus (benchmark: 114 runs)

2•jahala•38m ago•0 comments

When AI Builds AI

https://cset.georgetown.edu/publication/when-ai-builds-ai/
1•geox•39m ago•0 comments

Nobody Is Talking About Generalized Hill-Climbing (At Runtime)

https://danielmiessler.com/blog/nobody-is-talking-about-generalized-hill-climbing
2•gmays•39m ago•0 comments

Elara – Post-quantum validation protocol with Rust DAM virtual machine and AI

https://github.com/navigatorbuilds/elara-protocol
1•NenadVasic•41m ago•1 comments

Yes, You Can Vibe-Code. Here’s How to Get Started.

https://www.wsj.com/tech/ai/vibe-coding-how-to-guide-211afcf1
3•petethomas•44m ago•0 comments

Lilush – LuaJIT static runtime and shell

https://lilush.link/
1•ksymph•45m ago•0 comments