Tauri vs. Electron #181
Replies: 1 comment 15 replies
-
It seems very immature, not fully supporting needed web APIs for implementing a WebCord – for instance, I've noticed it lacks support for WebRTC on Linux. I've also found it lacks support of ARM platforms.
I really hate this term – in fact, what does mean native rendering engines? This problem is especially visible on Linux, where there's not even a standard API or library to render and theme windows. It seems to use Webkit+GTK, which may or may not be native from user's desktop enviroment perspective – for instance, the end-user might prefer QT instead and QT-based browser engine would be more suited and native at this point. And both QT/KDE and GTK are not the only existing libraries on Linux, there're other, less popular ones. This is why I think this term is misleading, because while for many users it could be a true statement, others may argue it is not a native solution with the specific desktop configuration.
What makes browser more secure? I would argue that Tauri is more secure than any other Webkit-based or other native engine-based browser or application. And Rust does not protect from everything outside of its scope: Tauri's libraries and dependencies might not be focused on the security, neither written or based on Rust. It could also be said that Tauri itself is as secure as Rust protections are. And Electron is focused a lot on security (e.g. it has sandboxing, content isolation, complex process architecture to prevent unpriviledged scripts from accessing the system resources), probably more than even NW.js (EDIT: to not make it misleading: Tauri is not NW.js; I just put this in my comment as an example of software similar to Electron, but not taking care of the remote content on its own) is, since it is designed to work in local and remote environments. I may not be the security expert there through and I don't guarantee that Electron itself is fully secure – but I think most of its vulnerabilities would be dependant to Chromium security and the same is with Tauri. |
Beta Was this translation helpful? Give feedback.
-
I recently heard of an Electron alternative called Tauri.
Basically, it's faster, more lightweight, more secure, and uses native rendering engines on different platforms.
Have you guys looked at it all?
Beta Was this translation helpful? Give feedback.
All reactions