Need advice about which tool to choose?Ask the StackShare community!

Electron

7.5K
6.7K
+ 1
136
Xamarin

1.2K
1.4K
+ 1
775
Add tool

Electron vs Xamarin: What are the differences?

Developers describe Electron as "Build cross platform desktop apps with web technologies. Formerly known as Atom Shell, made by GitHub". With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor. On the other hand, Xamarin is detailed as "Create iOS, Android and Mac apps in C#". Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.

Electron belongs to "Cross-Platform Desktop Development" category of the tech stack, while Xamarin can be primarily classified under "Cross-Platform Mobile Development".

Some of the features offered by Electron are:

  • Use HTML, CSS, and JavaScript with Chromium and Node.js to build your app.
  • Electron is open source
  • maintained by GitHub and an active community.

On the other hand, Xamarin provides the following key features:

  • Cross-platform development- Thinking about supporting iOS, Android, Mac and Windows? Xamarin allows you to write it all in C#.
  • Reuse existing code- Use your favorite .NET libraries in Xamarin apps. Easily use third-party native libraries and frameworks.
  • Discover as you type- Explore APIs as you type with code autocompletion.

"Easy to make rich cross platform desktop applications" is the top reason why over 50 developers like Electron, while over 111 developers mention "Power of c# on mobile devices" as the leading cause for choosing Xamarin.

Electron is an open source tool with 74.4K GitHub stars and 9.72K GitHub forks. Here's a link to Electron's open source repository on GitHub.

Slack, WebbyLab, and triGo GmbH are some of the popular companies that use Electron, whereas Xamarin is used by Rdio, Olo, and Rumble. Electron has a broader approval, being mentioned in 213 company stacks & 366 developers stacks; compared to Xamarin, which is listed in 74 company stacks and 65 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Electron
Pros of Xamarin
  • 66
    Easy to make rich cross platform desktop applications
  • 50
    Open source
  • 11
    Great looking apps such as Slack and Visual Studio Code
  • 6
    Because it's cross platform
  • 3
    Use Node.js in the Main Process
  • 120
    Power of c# on mobile devices
  • 80
    Native performance
  • 77
    Native apps with native ui controls
  • 71
    No javascript - truely compiled code
  • 67
    Sharing more than 90% of code over all platforms
  • 45
    Ability to leverage visual studio
  • 44
    Many great c# libraries
  • 43
    Mvvm pattern
  • 36
    Amazing support
  • 34
    Powerful platform for .net developers
  • 19
    GUI Native look and Feel
  • 15
    Nuget package manager
  • 11
    Free
  • 9
    Backed by Microsoft
  • 9
    Enables code reuse on server
  • 8
    Faster Development
  • 7
    Open Source
  • 7
    It's free since Apr 2016
  • 7
    Use of third-party .NET libraries
  • 7
    Best performance than other cross-platform
  • 7
    Easy Debug and Trace
  • 6
    Xamarin.forms is the best, it's amazing
  • 6
    Mac IDE (Xamarin Studio)
  • 5
    Power of C#, no javascript, visual studio
  • 5
    C# mult paradigm language
  • 4
    Microsoft backed
  • 4
    Great docs
  • 4
    Compatible to develop Hybrid apps
  • 4
    Microsoft stack
  • 4
    That just work for every scenario
  • 3
    Small learning curve for Mobile developers
  • 3
    Well Designed
  • 2
    Ability to leverage legacy C and C++
  • 2
    Ionic

Sign up to add or upvote prosMake informed product decisions

Cons of Electron
Cons of Xamarin
  • 17
    Uses a lot of memory
  • 8
    User experience never as good as a native app
  • 4
    No proper documentation
  • 4
    Does not native
  • 1
    Each app needs to install a new chromium + nodejs
  • 1
    Wrong reference for dom inspection
  • 8
    Build times
  • 4
    Visual Studio
  • 3
    Scalability
  • 3
    Complexity
  • 3
    Price
  • 2
    Support
  • 2
    Nuget
  • 2
    Build Tools
  • 2
    Maturity
  • 0
    Performance
  • 0
    Maturidade

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Electron?

With Electron, creating a desktop application for your company or idea is easy. Initially developed for GitHub's Atom editor, Electron has since been used to create applications by companies like Microsoft, Facebook, Slack, and Docker. The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on io.js and Chromium and is used in the Atom editor.

What is Xamarin?

Xamarin’s Mono-based products enable .NET developers to use their existing code, libraries and tools (including Visual Studio*), as well as skills in .NET and the C# programming language, to create mobile applications for the industry’s most widely-used mobile devices, including Android-based smartphones and tablets, iPhone, iPad and iPod Touch.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Electron?
What companies use Xamarin?
See which teams inside your own company are using Electron or Xamarin.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Electron?
What tools integrate with Xamarin?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to Electron and Xamarin?
Photon
The fastest way to build beautiful Electron apps using simple HTML and CSS. Underneath it all is Electron. Originally built for GitHub's Atom text editor, Electron is the easiest way to build cross-platform desktop applications.
React Native Desktop
Build OS X desktop apps using React Native.
React Native
React Native enables you to build world-class application experiences on native platforms using a consistent developer experience based on JavaScript and React. The focus of React Native is on developer efficiency across all the platforms you care about - learn once, write anywhere. Facebook uses React Native in multiple production apps and will continue investing in React Native.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
JavaFX
It is a set of graphics and media packages that enables developers to design, create, test, debug, and deploy rich client applications that operate consistently across diverse platforms.
See all alternatives