3 ms·
Isn't Flutter basically a way to use the C++ render engine from Chrome, with a "scripting" language most similar to Kotlin and Swift? Why not just use the Chro
by jurschreuder 2y ago
Isn't Flutter basically a way to use the C++ render engine from Chrome, with a "scripting" language most similar to Kotlin and Swift?
Why not just use the Chrome render engine directly from Rust?
Why all the extra steps?
- polyaniline 2y agoThere's too much infrastructure on top of the render engine to replicate. Flutter is backed by Google and has a fairly large ecosystem of community packages. See Freya - which uses Skia - the render engine Flutter used until a while back.
- ThePhysicist 2y agoThey used to be based on Skia but now they have their own renderer (Impeller). That said rendering is only a small part of a UI toolkit, there's a ton of other stuff e.g. how to interact with system libraries, integrate with UI paradigms (e.g. tray icons, gestures, responsiveness, widgets).
- imadj 2y ago> Why not just use the Chrome render engine directly from Rust? This is what projects like Tauri (in Rust) and Wails (in Go) are doing[0][1]. Utilizing Webview to develop applications, but they still don't support mobile, Tauri mobile is in beta. Basically Tauri and Wails are on one side (HTML/CSS) trying to approach cross platform by supporting mobile platforms, while Flutter and Kotlin Compose Multiplatform started from the other side. So it depends on your needs, web-first or mobile-first, and what platforms matter to you. So far Flutter is in the lead offering the most polished experience when it comes to supporting all platforms (Web, desktop, iOS, Android). [0] https://github.com/tauri-apps/tauri https://github.com/tauri-apps/tauri [1] https://github.com/wailsapp/wails https://github.com/wailsapp/wails