Jump to content

Electron (software framework): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
May2615 (talk | contribs)
rewrote the criticism section; i'm unsure if the existing sources are adequate since they're blog entries; removed the citation needed tag for twitch
No edit summary
Line 45: Line 45:
*[[Keybase]]
*[[Keybase]]
* [[Light Table (software)|Light Table]]
* [[Light Table (software)|Light Table]]
* [[Microsoft Teams]]<ref name="ms-teams">{{cite web|url=https://techcommunity.microsoft.com/t5/Microsoft-Teams/Electron-Helper-and-branding/td-p/71595|title=Electron Helper and branding|date=20 May 2017|website=Techcommunity.microsoft.com|accessdate=8 May 2018}}</ref>
* [[Microsoft Teams]]<ref name="ms-teams">{{cite web|url=https://techcommunity.microsoft.com/t5/Microsoft-Teams/Electron-Helper-and-branding/td-p/71595|title=Electron Helper and branding|date=20 May 2017|website=techcommunity.microsoft.com|accessdate=8 May 2018}}</ref>
* [[MongoDB#Management and graphical front-ends|MongoDB Compass]]<ref name="AP1" />
* [[MongoDB#Management and graphical front-ends|MongoDB Compass]]<ref name="AP1" />
* Shift<ref name="AP1" />
* Shift<ref name="AP1" />

Revision as of 00:20, 19 December 2019

Electron
Original author(s)GitHub (a Microsoft subsidiary)
Developer(s)OpenJS Foundation
Initial release15 July 2013; 11 years ago (2013-07-15)[1]
Stable release
7.1.2 / 20 November 2019; 5 years ago (2019-11-20)[2][3]
Repository
Written inC++, JavaScript, Objective-C++, Python and Objective-C
Operating systemWindows, Linux and macOS
PlatformIA-32, x86-64, ARM
LicenseMIT License[4]
Websiteelectronjs.org

Electron (formerly known as Atom Shell[5]) is an open-source framework developed and maintained by GitHub.[6] Electron allows for the development of desktop GUI applications using web technologies: It combines the Chromium rendering engine and the Node.js runtime.[7] Electron is the main GUI framework behind several notable open-source projects including Atom,[8] GitHub Desktop,[9] Light Table,[10] Visual Studio Code,[11] and WordPress Desktop.[12]

Architecture

Electron applications are composed of multiple processes. There is the "browser" process and several "renderer" processes. The browser process runs the application logic, and can then launch multiple renderer processes, rendering the windows that appear on a user's screen rendering HTML and CSS.

Both the browser and renderer processes can run with Node.js integration if enabled.

Most of Electron's APIs are written in C++ or Objective-C and then exposed directly to the application code through JS bindings.[13]

Security

Because Electron applications are web applications running in the Chromium engine, they may be vulnerable to web-related attacks such as cross-site scripting attacks, through the same attack vectors as a browser (E.g. Chromium) or other internal components (Node.js) if using certain versions of Electron.[14] Examples of such vulnerabilities have been fixed in the 1.7.13, 1.8.4, and 2.0.0-beta.5 Electron releases.[15]

Criticism

Electron applications have been criticized for containing significant overhead due to their Chromium dependency, especially when their performance is compared to that of similar native applications.[16][17]

Software using Electron

A number of desktop applications are built with Electron including:[18]

Offshoot

Electron.NET

On October 27, 2017, the community released a port called Electron.NET for the .NET Core framework. This is an open source project that enables native Electron APIs using the C# programming language. The .NET developer remains in their usual ecosystem, rather than using JavaScript.

See also

References

  1. ^ "electron/electron". GitHub. Retrieved 8 May 2018.
  2. ^ "Release Notes". github.com. GitHub. 20 November 2019.
  3. ^ https://electronjs.org/releases
  4. ^ "electron/LICENSE at master". GitHub. Retrieved 25 April 2017.
  5. ^ Sawicki, Kevin (23 April 2015). "Atom Shell is now Electron". Atom. Retrieved 2 December 2015.
  6. ^ "electron/electron". GitHub. Retrieved 8 May 2018.
  7. ^ "Electron Internals: Using Node as a Library | Electron Blog". electronjs.org. Retrieved 26 April 2019.
  8. ^ "atom/atom". GitHub. Retrieved 8 May 2018.
  9. ^ "GitHub Desktop". GitHub. Retrieved 16 June 2019.
  10. ^ Horner, Gabriel (10 December 2015). "Light Table 0.8.0". lighttable.com. Retrieved 2 December 2018.
  11. ^ James, Mike (23 November 2015). "Visual Studio Code - Now With Added Extensions". I Programmer. Retrieved 2 December 2015.
  12. ^ "GitHub Repository". Retrieved 16 June 2019.
  13. ^ "From native to JavaScript in Electron | Electron Blog". electronjs.org. Retrieved 26 April 2019.
  14. ^ "Electron nodeIntegration Bypass". 10 May 2018.
  15. ^ "Webview Vulnerability Fix". 21 March 2018.
  16. ^ "Electron considered harmful". Drew DeVault's Blog. Retrieved 2 October 2019.
  17. ^ Beyer, Casper. "Electron is Cancer". Commit Log. Medium. Retrieved 2 October 2019.
  18. ^ a b c d e f g h "Apps". Electron. Retrieved 18 August 2017.
  19. ^ Sawicki, Kevin (23 April 2015). "Atom Shell is now Electron". Electron. Retrieved 15 July 2017.
  20. ^ "CrashPlan for Small Business version 6.7". Code42 CrashPlan Release Notes. Retrieved 25 April 2018.
  21. ^ "Etcher". Retrieved 28 August 2018.
  22. ^ Haack, Phil (16 May 2017). "Announcing Git Integration for Atom and GitHub Desktop Beta". The GitHub Blog. Retrieved 15 July 2017.
  23. ^ "Electron Helper and branding". techcommunity.microsoft.com. 20 May 2017. Retrieved 8 May 2018.
  24. ^ "Building hybrid applications with Electron". Several People Are Coding. Retrieved 12 August 2017.
  25. ^ "symphonyoss/SymphonyElectron". GitHub. Retrieved 27 September 2018.
  26. ^ Bright, Peter (29 April 2015). "Microsoft's new Code editor is built on Google's Chromium". Ars Technica. Retrieved 18 November 2015.
  27. ^ "Open Source project".
  28. ^ "wireapp/wire-desktop". GitHub. Retrieved 8 May 2018.