I've been diving into the differences between Electron and Tauri, and I see some compelling arguments for why Tauri could be a better choice in terms of app size, resource efficiency, and security. However, I'm puzzled as to why many major applications like Discord, Slack, and Microsoft Teams still rely on Electron. Is it purely a matter of familiarity with Electron's ecosystem, or are there specific technical advantages that Electron holds over Tauri? Could it be that Tauri is still too new to be considered viable for big projects? I'd love to hear your thoughts and insights on this.
5 Answers
Development teams generally stick with what they know. Sure, Electron might add a significant size to applications, but if it works, companies are likely to keep using it rather than risk potential issues with less familiar frameworks like Tauri.
Inertia plays a huge role here. Switching tech stacks isn't just a simple switch; it involves a lot of refactoring, and the risks of introducing bugs during that transition are daunting. Most teams don't want to stop developing new features to redo a system that already works.
And if you're the one pushing for such a major change, it can backfire on you in a corporate setting. That's a risky move!
Costs and learning curves also come into play. With Tauri, developers need to juggle between Rust and JavaScript, whereas Electron sticks with JavaScript all the way. This can make hiring and onboarding smoother for teams that are already proficient in JavaScript. Tauri is great for its niche, but its learning curve can deter teams from jumping ship from Electron.
True, you can do a lot with JavaScript in the Electron ecosystem. Plus, transitioning to Tauri often means investing time and resources into learning Rust, which not everyone is comfortable with.
One big reason is that Electron gives developers tighter control over the Chromium version they use. Tauri relies on the system's browser, meaning you might face compatibility issues across different platforms. This can be especially daunting for apps that need to be consistently reliable for users.
That's exactly right! I manage a Tauri app across multiple platforms, and handling the differing web views is a real headache. When Tauri offers a version with Chromium embedded, I hope to switch—it could solve a lot of headaches.
But isn't it the case that a lot of these apps, like Discord, already have web versions? They need to work across various browsers anyway.
Many companies aren't eager to rewrite an entire app that's functioning well and already supports a large user base. Tauri might have its advantages, but its ecosystem is less mature, and that lack of battle-tested stability means companies will stick to what they know works.
Exactly! The toolset and libraries for Electron are well-defined and stable, making development smoother. Tauri is still catching up in that area.

Right, especially when migrating involves uncertainty about performance and compatibility.