Need advice about which tool to choose?Ask the StackShare community!
Electron vs electrino: What are the differences?
Introduction:
In this article, we will be discussing the key differences between Electron and Electrino. Both Electron and Electrino are frameworks used to build cross-platform desktop applications using web technologies such as HTML, CSS, and JavaScript. However, there are crucial differences that set them apart from each other.
Runtime Environment: Electron is built upon the Chromium browser engine, which means it runs an instance of Chromium for each application. On the other hand, Electrino uses the native macOS WebView as its runtime environment, resulting in better performance and reduced memory consumption.
Application Size: Electron applications tend to have larger file sizes due to the bundled Chromium runtime. It can be several 10s of megabytes in size, making it less suitable for lightweight or resource-restricted environments. Electrino, on the other hand, leverages the existing macOS WebView and does not bundle a complete browser engine, resulting in much smaller application sizes.
Compatibility: Electron is designed to be cross-platform and supports building applications for Windows, macOS, and Linux. Electrino, on the other hand, is specifically tailored for macOS and is not compatible with Windows or Linux. This limits the portability and reach of Electrino applications.
External Dependencies: Electron requires the installation of external dependencies such as Node.js and Chromium to run the applications. This can create dependency conflicts and versioning issues. Electrino, on the other hand, does not require any external dependencies and runs directly on the macOS system WebView.
Development Environment: Electron provides a rich set of developer tools and a comprehensive ecosystem for building and debugging applications. Electrino, although being lightweight, lacks some of the development tools and ecosystem present in Electron, making it slightly less developer-friendly.
Community and Support: Electron has a larger community and more active support forums, which means finding solutions to common issues and getting help is relatively easier. Electrino, being a newer and lesser-known framework, has a smaller community and limited support resources.
In summary, Electron is a powerful and feature-rich framework for building cross-platform desktop applications, while Electrino is a lightweight alternative specifically tailored for macOS. Electrino offers better performance, smaller application sizes, and no external dependencies but is limited to macOS only and lacks some developer tools and community support available in Electron.
Pros of electrino
- Little size application file1
- Minimum portion of the APIs available in Electron1
Pros of Electron
- Easy to make rich cross platform desktop applications69
- Open source53
- Great looking apps such as Slack and Visual Studio Code14
- Because it's cross platform8
- Use Node.js in the Main Process4
Sign up to add or upvote prosMake informed product decisions
Cons of electrino
Cons of Electron
- Uses a lot of memory19
- User experience never as good as a native app8
- No proper documentation4
- Does not native4
- Each app needs to install a new chromium + nodejs1
- Wrong reference for dom inspection1