Loading video...
Video Failed to Load
I¹ ported my Mini web browser to Rust & Swift. It's faster, more secure, and shockingly, nicer to iterate on than Electron + Bun. I always wanted Safari-like UX but… Chrome 😁. Thanks to the 𝚌𝚎𝚏 crate, I can bundle up-to-date Chromium. 𝚏𝚡 𝚊𝚌𝚙 lets me embed an agent... show more
108,762 views • 10 days ago •via X (Twitter)
30 Comments

building a tiny browser and still having to bundle all of chromium is the most browser-development sentence possible

you should give a try

Electron just got served divorce papers by Rust and Swift and somehow still has to pay child support in RAM

the 'nicer to iterate' claim is doing a lot of work there. electron hot-reload wins the raw inner loop what rust buys you is fewer step-12 surprises. those feel like the same thing when you're deep in a bug but they really aren't.

Mini browser in Rust/Swift now embeds an agent via fx acp — interesting if the shell becomes the product. Short stack → #Agents #DX

cool

The useful boundary is per-operation context: MCP-over-ACP is still a draft and targets MCP 2026-07-28 only. That is where I would enforce tool scope, instead of trusting one long-lived side channel.

we will all have our own personalized software

“Native is nicer to iterate on” might be the most interesting line here 😄 We spent years assuming native meant more work. AI coding may be reversing that tradeoff.

Using cef is such a brilliant move!

You know I tried this way actually @rauchg. Check if you're able to do Google sign ins. From what I read, unless you're baking Chromium in, you're using embedded Chromium, and for safety reasons Google will block sign in attempts through embedded browsers.

open source?

want to join beta, how?

nativify is the move. nothing beats that native focus control, definitely feels like the shift here

I’m more curious about the embedded agent than the Electron exorcism. What does it actually own in the browser?

what did the Swift/Rust split look like? UI in Swift, engine in Rust, or something else?

It seems like it’s been quite a while since I’ve heard people mention CEF

Fine-grained focus control is the underrated win here, not the boot times

rust and swift over electron is the kind of decision that only looks obvious after you already ate the rewrite pain

cef crateで同梱したChromiumの更新は、どう扱っていますか?配布するツールを作る側として、そこが地味に知りたいです。

Does bundling cef end up bloating the binary compared to shipping WebKit directly on macOS?

the way you’re using the cef crate to bundle Chromium is really cool. sounds like a great combo for performance!

Safari vibes with Chromium power? That's a dangerous combo. 🍎⚡

built an entire browser in Rust & Swift just to dunk on Electron, the pettiness is inspiring 😭

Look into webkitgtk, I've been working on which uses that.

The piece I'd test first is the MCP boundary. On my team, once an agent can drive the browser, the miss is scope: it keeps going on something the task never named. Does fx acp pin which tools it can call, or is that still the prompt?

engineering taste is something

this is a time to play with your daughter you can build fast browser after some time

A browser in Rust and Swift with Chromium bundled — Electron just got a very elegant threat.

'shockingly nicer to iterate on' is the part people dont believe until they try it. rusts rep is fighting the borrow checker but the actual loop is cargo check telling you exactly what broke. electron gives you a white window and vibes
