
Hacker News · Feb 19, 2026 · Collected from RSS
I'm building a commercial macOS app with Electrobun [1]. I have previously written the same app with Tauri. I'll say that, while I love Tauri, using Electrobun has been an absolute breeze. I got the same app done in roughly 70% of the time [2]. It's a very productive stack. In no small part due to Electrobun, but also the fact that Bun has tons of DX niceties and a builtin bundler. Electrobun lets you open/manipulate/close webview windows and communicate with them using typed rpc. It also handles building, code signing, and notarization. And because I'm using Bun, running an HMR + React + Tailwind server is just one command (`bun ./index.html`) or like 5 lines of code. Pass --console and the webview's console.log()s get streamed to your Terminal too. There's tons of other things Electrobun does that I haven't even mentioned, because I haven't interacted much with them yet. E.g. I know that it lets you show platform-native notifications, prompts/popups, etc. There also is a very impressive updating mechanism that relies on a bsdiff implementation written in Zig. You just ship the deltas, so updates to very large apps are just a few KBs most of the time. It's genuinely a very productive stack and impressive piece of tech. [1] Not affiliated - I just like the project. [2]: The API and implementation was clear, so I'll cautiously say this is not a case of "rewrites are always faster". In fact, the Tauri version was a rewrite too :) Comments URL: https://news.ycombinator.com/item?id=47069650 Points: 45 # Comments: 9
Build ultra fast, tiny, and cross-platform desktop apps with TypeScript. Two years ago I paused co(lab) to build the desktop app framework I wished existed. Now that I've shipped a stable v1, this post is me reflecting on this two-year sidequest that had me learning Zig, C, C++, and Objective-C. Why I Built This My intro to programming was Visual Basic 6 in the early 2000s, building desktop apps. Then Adobe AIR changed my life—I built a few startups and shipped desktop apps to thousands of people. That was the golden age for me. Fast forward 20+ years of zero-to-one work at startups, building and scaling key systems as early eng at unicorns shipping to 10s of millions, and starting my own startup lab; somehow desktop development had gotten worse. I was building co(lab), a hybrid web browser + code editor + PTY terminal, and I just ran into one papercut too many. The first version was built in Electron. The DX was rough—figuring out code signing, notarization, distribution, and updates felt like fighting the framework instead of building my app. I wanted to ship like the web, continuously, but every piece of the toolchain made that harder than it needed to be. I tried Tauri but Rust is not for everyone. Bun was up and coming, still months away from 1.0. So I got to work. From macOS to Everywhere When Electrobun started, it only built macOS apps. Today it has first-class support for building on and distributing to macOS, Windows, and Ubuntu. Installers, auto-update artifacts, differential patches—all generated automatically. Bring your own static host (R2, S3, GitHub Releases) and you're done. The differential updates are powered by zig-bsdiff, which I ported from C to Zig and optimized with SIMD and zstd. As Bun's FFI stabilized, I replaced most of the Zig FFI layer I'd written and leaned on Bun directly. The architecture inverted in a good way—Bun uses shared memory when spinning up workers, so Electrobun stays efficient even with multiple processes. What Shipped Electrobun today is a complete framework: cross-platform window controls, menus, accelerators, global shortcuts, clipboard, dialogs, webview partitions, session storage, find-in-page, and solid tooling around bundling and updates. The OOPIF story is real now. Electron's <webview> tag was deprecated from Chromium and they still haven't fixed it. Building a Better OOPIF goes deep on how <electrobun-webview> evolved into a true "super iframe"—DOM positioning, process isolation, layering that actually works, and no cursor flicker nightmares. It works across platforms without patching browser engines. What's Next co(lab) is fully rewritten on Electrobun and I'm doubling down on it now that v1 is real. The framework is stable enough to build ambitious, long-lived products without worrying about platform churn. That was always the goal. The community is growing. People in our Discord are building insanely cool apps. If you've tested betas, filed issues, or sent feedback—thank you. Electrobun is the first major thing I'm shipping from Blackboard, and you helped shape it.