Tech
[分享发现] 两款新的跨平台桌面应用开发框架: ElectroBun & Deno Desktop
长期用 Electron 开发桌面应该都有痛点:打包体积动辄上百 MB 、启动慢、完整更新包巨大; Tauri 又需要上手 Rust 门槛偏高。最近出现两款基于现代 JS/TS Runtime 的轻量桌面框架 ——ElectroBun 、Deno Desktop ,二者都复用系统 WebView 实现轻量化。
APP 体积
ElectroBun ~14 MB
Deno Desktop ~40 MB / ~150 MB (如果打包 CEF)
两者均支持 bsdiff ,补丁尺寸可以做到很小。
平台支持上
都支持 macOS / Windows / Linux
暂不支持 iOS / Android
都支持 Node ,支持 HMR ,上手难度很低。
官网:
https://github.com/blackboardsh/electrobun
https://docs.deno.com/runtime/desktop/
Read the full discussion on V2EX
This article was aggregated from V2EX. Click to join the conversation.
View on V2EX