JavaScript web apps with WASM layout and GPU rendering in 280 KB
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
Over the past year, I have been working to find a better way to write cross-platform apps.The problems I am trying to solve:- Native frameworks only work on a subset of platforms, so a different implementation of the UI needs to be written per target. - They are updated at the same pace as the platform itself, which forces the developer to split the user base to be able to use new features, or wait a long time for bugs to get fixed. - They also force developers to use specific high-level languages, so they are not a good fit for apps with high performance requirements, like creative apps or games. - Cross-platform frameworks that rely on bundling a browser engine solve the problem of code reuse, but they inherit the limitations of HTML/CSS. - Those that take control over layout and rendering are not efficient and lightweight enough to be used on the web, and require the use of compiled languages.Ideally, we would be able to bundle the UI framework directly with the application. This would allow developers to use new features and fix issues in the UI framework immediately. It would also allow ideas for improvements to compete in a natural way, rather than being decided by a committee.Uniform is my idea for how we can solve these problems. This is the structure:- A layout and rendering engine written in C, compiled to WASM on the web and native code on all other platforms - A JavaScript API where each function call gets forwarded directly into the core, for best performance and efficiency - A native runtime (<2 MB) that makes it possible to run the same JavaScript code on macOS and iOS (more platforms to come). The runtime can also generate packaged apps to upload to app stores. The packaging steps are also described in JS.Uniform supports very fast iteration cycles via hot-reload on all platforms. Even on iOS, the JS source code of an app can be changed while the app is running. Changes are visible on the next display refresh. No connection to a computer or the internet is required. Apps can be written from scratch on a phone, with native performance.The readme in the linked repository includes many examples and a detailed explanation of the core ideas. It is handwritten without any use of AI.And here is a live demo: https://raffk.com/hn-demo/It should work in any browser that supports WebGPU. (To get 120 Hz support in Safari, the “Prefer Page Rendering Updates near 60fps” feature flag needs to be disabled.)
HN · launched Nov 7, 2026 · 46 upvotes (top 18%) · 0 views
Niche: software development frameworks · 154 launches, 2 in the last 7 days ▼ -89% · Explore this niche →
Category and tags
- Horizontal
- Dev tools
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 154 launches in software development frameworks →
Could you build this?
No A cross-platform UI framework with WASM layout and GPU rendering in 280 KB requires specialized graphics, text layout, and systems expertise that vibe coding cannot supply.
What it would actually take: A real version needs a layout engine (flexbox or similar), text shaping and rasterization, and GPU backends for WebGPU, Metal, Vulkan, and DirectX, along with input, accessibility, and platform integration. Achieving the size and performance claims takes systems programming in Rust or C++ and sustained optimization by graphics engineers.
Discussion
20 comments analyzed.
Competitors mentioned: Flash, Tauri, Claude
Concerns raised: no text selection or copy/paste, missing native right-click menu, slow first load and layout jank, no accessibility support, no advantage over native HTML/CSS
Feature requests: accessibility support, text selection and copy-paste, native browser features like right-click menu, demo of something impossible in HTML/CSS, pinch-to-zoom and scroll rebound
Competitors
Other products that read as similar to this one : 377 launches clear the similarity bar, closest 8 shown.
Attention rank: #85 of 378 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 371 days after the earliest competitor.
- Coi · hn · 2026-01-20 · 225 upvotes · similarity 0.57
- Mystral Native · hn · 2026-01-27 · 50 upvotes · similarity 0.53
- A malleable and formally verified Web engine · hn · 2026-10-29 · 6 upvotes · similarity 0.49
- Vanilla JavaScript refinery simulator built to explain job to my kids · hn · 2026-03-02 · 7 upvotes · similarity 0.49
- MōBrowser, a TypeScript-first desktop app framework with typed IPC · hn · 2026-04-14 · 7 upvotes · similarity 0.47
- Domphy · hn · 2026-06-19 · 11 upvotes · similarity 0.47
- Attar · hn · 2026-09-18 · 7 upvotes · similarity 0.46
- I built a zero-browser, pure-JS typesetting engine for bit-perfect PDFs · hn · 2026-03-01 · 78 upvotes · similarity 0.46
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.