Show HN: JavaScript web apps with WASM layout and GPU rendering in 280 KB
Uniform is a 280 KB cross-platform UI framework using WASM and WebGPU that bypasses native browser and OS layout engines.
summary is enough While the technical implementation is impressive, the comment thread provides a necessary reality check on the UX and accessibility flaws of bypassing native browser features.
summary
Uniform is a cross-platform UI library written in C that compiles to WASM, offering JS and C APIs to build custom user interfaces via WebGPU and Metal in under 280 KB. It provides low-level control over layout, shapes, text, and input processing without relying on traditional DOM or native UI components. However, commenters point out significant downsides, such as broken text selection, lack of OS accessibility features, missing IME support for CJK languages, and subpar UX compared to native web elements.
key points
- Uniform's core library compiles to WASM and native code, keeping compressed bundle sizes under 280 KB with compilation times under one second.
- It utilizes Signed Distance Field (SDF) shapes, continuous curves, and GPU rendering (WebGPU/Metal) for high-performance visual effects.
- Commenters heavily criticize the approach for breaking standard web features like text copying, trackpad scrolling, zoom gestures, and accessibility tools.
who should read it
Engineers and graphics programmers interested in low-level UI architecture, WASM, and custom rendering engines.
discussion skeptical
consensus
Commenters generally view the project as an impressive technical hack, but heavily criticize it as a user experience regression that discards critical OS and browser features like text selection, accessibility, and input methods.
pushback
A few users praise the experiment as a step toward reducing the massive footprint of modern framework architectures like Tauri or Electron.
The problem here is all the OS features are discarded. Can't insert password from password manager because to do so the page would need to access to passwords. Can't use the user dictionary because to do so would be a privacy issue. Doesn't support CJK and other languages that require an input method editor. etc....
It also means a platform's features are not duplicated so your app's behavior sticks out as having a different experience from everything else the user does making it frustrating.
That said, if you want see an app in WebGL/WASM where the browser is rendering everything there's …
It details the practical drawbacks of abandoning native browser and OS UI integration, such as broken accessibility, missing IME support, and inability to use password managers.
Generated by an LLM from the article and thread. Check the sources before relying on it.