Get Advice Icon

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

Electron
Electron

2.5K
2.1K
+ 1
93
F#
F#

203
199
+ 1
250
Add tool

Electron vs F#: What are the differences?

Electron: 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; F#: Strongly-typed, functional-first programming language for writing simple code to solve complex problems. F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code.

Electron and F# are primarily classified as "Cross-Platform Desktop Development" and "Languages" tools respectively.

"Easy to make rich cross platform desktop applications" is the top reason why over 50 developers like Electron, while over 40 developers mention "Pattern-matching" as the leading cause for choosing F#.

Electron and F# are both open source tools. It seems that Electron with 74.4K GitHub stars and 9.72K forks on GitHub has more adoption than F# with 2.08K GitHub stars and 341 GitHub forks.

According to the StackShare community, Electron has a broader approval, being mentioned in 213 company stacks & 366 developers stacks; compared to F#, which is listed in 18 company stacks and 16 developer stacks.

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 F#?

F# is a mature, open source, cross-platform, functional-first programming language. It empowers users and organizations to tackle complex computing problems with simple, maintainable and robust code.
Get Advice Icon

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

Why do developers choose Electron?
Why do developers choose F#?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Electron?
    What companies use F#?

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

    What tools integrate with Electron?
    What tools integrate with F#?

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

    What are some alternatives to Electron and F#?
    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.
    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.
    Element
    Element is a Vue 2.0 based component library for developers, designers and product managers, with a set of design resources.
    See all alternatives
    Decisions about Electron and F#
    StackShare Editors
    StackShare Editors
    Chromium
    Chromium
    MacGap
    MacGap
    ES6
    ES6
    Electron
    Electron
    React
    React
    Node.js
    Node.js

    The Slack desktop app was originally written us the MacGap framework, which used Apple鈥檚 WebView to host web content inside of a native app frame. As this approach continued to present product limitations, Slack decided to migrate the desktop app to Electron. Electron is a platform that combines the rendering engine from Chromium and the Node.js runtime and module system. The desktop app is written as a modern ES6 + async/await React application.

    For the desktop app, Slack takes a hybrid approach, wherein some of the assets ship as part of the app, but most of their assets and code are loaded remotely.

    See more
    StackShare Editors
    StackShare Editors
    Chromium
    Chromium
    MacGap
    MacGap
    ES6
    ES6
    Electron
    Electron
    TypeScript
    TypeScript
    React
    React
    Node.js
    Node.js

    Slack's new desktop application was launched for macOS. It was built using Electron for a faster, frameless look with a host of background improvements for a superior Slack experience. Instead of adopting a complete-in-box approach taken by other apps, Slack prefers a hybrid approach where some of the assets are loaded as part of the app, while others are made available remotely. Slack's original desktop app was written using the MacGap v1 framework using WebView to host web content within the native app frame. But it was difficult to upgrade with new features only available to Apple's WKWebView and moving to this view called for a total application rewrite.

    Electron brings together Chromium's rendering engine with the Node.js runtime and module system. The new desktop app is now based on an ES6 + async/await React application is currently being moved gradually to TypeScript. Electron functions on Chromium's multi-process model, with each Slack team signed into a separate process and memory space. It also helps prevent remote content to directly access desktop features using a feature called WebView Element which creates a fresh Chromium renderer process and assigns rendering of content for its hosting renderer. Additional security can be ensured by preventing Node.js modules from leaking into the API surface and watching out for APIs with file paths. Communication between processes on Electron is carried out via electron-remote, a pared-down, zippy version of Electron's remote module, which makes implementing the web apps UI much easier.

    See more
    Yshay Yaacobi
    Yshay Yaacobi
    Software Engineer | 27 upvotes 273.4K views
    atSolutoSoluto
    Docker Swarm
    Docker Swarm
    Kubernetes
    Kubernetes
    Visual Studio Code
    Visual Studio Code
    Go
    Go
    TypeScript
    TypeScript
    JavaScript
    JavaScript
    C#
    C#
    F#
    F#
    .NET
    .NET

    Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

    Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

    After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

    See more
    Kubernetes
    Kubernetes
    Docker
    Docker
    C#
    C#
    F#
    F#
    .NET
    .NET

    I've used .NET for many years, but only in recent years, after Microsoft introduced .NET Core, I've found a new love and excitement for the technology again. The main driver for us using .NET Core is not that it is cross platform compatible, open source or blazingly fast (which it is!), but the fact that we can use (what we consider) the best programming languages (mainly F# and C#) to carry out our jobs without sacrificing the other benefits.

    Today we run most of our web infrastructure on .NET Core in Docker containers, deployed into a Kubernetes cluster which spans across multiple time zones in the Google Cloud and we couldn't be happier. Due to the portability of the .NET Core platform we are even able to develop many new services as serverless functions with F# which has become an absolute game changer.

    See more
    Interest over time
    Reviews of Electron and F#
    No reviews found
    How developers use Electron and F#
    Avatar of Chris Saylor
    Chris Saylor uses ElectronElectron

    Our application began as an HTML5 browser game, however we decided to leverage certain native parts of desktop applications by wrapping our client code into Electron. This also allowed us to not have to worry about compatibility across all the various browsers.

    Avatar of HyVive
    HyVive uses ElectronElectron

    Our Web Applications are served on our Desktops by Electron. This allows us to have native apps running on our Workstations without having too many Browser Tabs open at the same time.

    Avatar of PawByte
    PawByte uses ElectronElectron

    Electron is the current preferred method to convert games made in the Game Pencil Editor for desktop support.

    Avatar of Metrix Financial Reporting Solutions UG
    Metrix Financial Reporting Solutions UG uses ElectronElectron

    Implement a web-service using your favorite tools but sell a desktop application for oblivious windows users.

    Avatar of Ralic Lo
    Ralic Lo uses ElectronElectron

    Used Electron to package single page web application as a desktop application.

    Avatar of Tuomas Hietanen
    Tuomas Hietanen uses F#F#

    Backend programming language.

    Avatar of Tuomas Hietanen
    Tuomas Hietanen uses F#F#

    Programming language

    How much does Electron cost?
    How much does F# cost?
    Pricing unavailable
    Pricing unavailable
    News about F#
    More news