ElementaryUI brings Swift to the browser with WebAssembly
ElementaryUI – Swift, in the Browser

ElementaryUI lets you run declarative Swift apps natively in the browser via WebAssembly, with SwiftUI-inspired APIs, built-in reactivity through @State and @Environment, and CSS-based animations including automatic FLIP transitions. Thanks to full Embedded Swift support, wasm bundles stay in the kilobyte range instead of megabytes, and a Vite-powered dev server provides hot reload for fast iteration.
Full Embedded Swift support means kB-sized wasm bundles instead of MB.
- adrusi
Reminiscent of the now 18-year-old Cappuccino project https://www.cappuccino.dev/
- gosen
It would be interesting to see any benchmarks / comparisons to understand what are the benefits of having Swift in the browser. Is it faster? Easier to maintain? Or is it based more on the sympathy to the programming language in general?
But great job anyway!
- pjmlp
Bit by bit, we are having our beloved browser plugins back, at least for some of us.
- jan_m_savage
sooner or later this was gonna happen. Swift is like Haskell, but nicer and more programmer-friendly.
- brailsafe
Looks a bit like jQuery mixed with jsx and ember or angular