←back to thread

323 points CharlesW | 2 comments | | HN request time: 0s | source
Show context
yoav ◴[] No.42204063[source]
Hey hn! Author here:

Thanks to whoever submitted.

Electrobun is in the very early stages. The roadmap is a bit out of date. Here are some highlights:

- it’s like Tauri in that it uses the system webview and does not bundle chromium

- it’s like Electron in that it bundles Bun instead of Node for the main process so you just write typescript for both the main and browser contexts

- native bindings written in c/objc with a zig wrapper that the bun process runs

- it will be cross platform, but working on stability first

- the cli handles updates code signing and everything else you need and outputs build artifacts that you just need to upload to S3 or any static file host.

- it has a custom optimized bsdiff implementation in zig that autogenerates updates for your app as small as 4KB

- it has a custom zig self extracting mechanism that uses zstd so your initial download is also as small as can be.

- it has a custom encrypted easy to use RPC mechanism between bun and browser processes where you just write method signatures and handlers.

- it has a custom OOPIF implementation so you can embed isolated browser contexts with your html <electrobun-webview> element that are performant and easy to use so you could build a multi tab web browser with it if you wanted.

replies(4): >>42204578 #>>42204644 #>>42207323 #>>42220311 #
1. jacobgorm ◴[] No.42204644[source]
Tauri also uses the system webview and does not bundle Chromium, right?
replies(1): >>42209867 #
2. davidmurdoch ◴[] No.42209867[source]
"it’s like Tauri in that it uses the system webview and does not bundle chromium"