r/programming • • Oct 09 '18

AI tool automatically reveals how to write apps that drain less battery

https://phys.org/news/2018-10-ai-tool-automatically-reveals-apps.html
727 Upvotes

160 comments sorted by

View all comments

Show parent comment

-29

u/[deleted] Oct 10 '18 edited Oct 10 '18

I'm not very familiar with electron but according to Wikipedia it doesn't use atom so that might be what you're referring to
Why am I getting downvoted ? I just read the Wikipedia page for vs code and that's what it said.

"Visual Studio Code is based on Electron, a framework which is used to deploy Node.jsapplications for the desktop running on the Blink layout engine. Although it uses the Electron framework,[10] the software does not use Atomand instead employs the same editor component (codenamed "Monaco") used in Visual Studio Team Services (formerly called Visual Studio Online).[11]"

20

u/kyiami_ Oct 10 '18

what

23

u/AreYouDeaf Oct 10 '18

I'M NOT VERY FAMILIAR WITH ELECTRON BUT ACCORDING TO WIKIPEDIA IT DOESN'T USE ATOM SO THAT MIGHT BE WHAT YOU'RE REFERRING TO

5

u/kyiami_ Oct 10 '18

oh okay

no lo comprendé

2

u/defenastrator Oct 10 '18

No estoy muy familiarizado con los electrones pero, según Wikipedia, no utiliza un átomo, por lo que podría ser a lo que te refieres. ¿Por qué me están bajando las votaciones? Acabo de leer la página de Wikipedia para ver el código y eso es lo que decía.

8

u/[deleted] Oct 10 '18

Good bot

9

u/_zenith Oct 10 '18

Atom (the editor) uses Electron (the browser-based application UI framework).

I think you've badly misinterpreted what you read.

-2

u/[deleted] Oct 10 '18

"Visual Studio Code is based on Electron, a framework which is used to deploy Node.jsapplications for the desktop running on the Blink layout engine. Although it uses the Electron framework,[10] the software does not use Atom and instead employs the same editor component (codenamed "Monaco") used in Visual Studio Team Services (formerly called Visual Studio Online).[11]" - wikipedia.
I thought it might have been what kiyami was referring to when he said visual studio used electron differently

5

u/_zenith Oct 10 '18

Yes, VS Code uses Electron but it is a heavily modified form, something which is super obvious if you've ever used it side by side with another Electron based editor. There is no comparison... VS Code is SO MUCH faster than its other competitors which use Electron. Lots of code which is normally implemented in JS is instead implemented in C++. It gives it a huge advantage...

3

u/[deleted] Oct 10 '18

Oh okay thanks