News for hackers. Stuff that matters.
Re:Electron is flash for the desktop (2016) by alexeiz on Tuesday April 11, 2017 @12:42PM (#14089825)
> no measurable amount of CPU (even to blink the cursor!)

Is it really possible? What kind of alien technology is it?

Re:Electron is flash for the desktop (2016) by Merad on Tuesday April 11, 2017 @01:18PM (#14090203)
I should say "measurable in task manager" - which reports in increments of 0.1%.

Realistically I would imagine that a native Win32 app (Notepad++) that's totally idle except for message loop and cursor blink requires less than a microsecond of CPU time per wall clock second.

Re:Electron is flash for the desktop (2016) by DaiPlusPlus on Tuesday April 11, 2017 @03:41PM (#14091679)
It gets better: the caret in "real" Win32 is not rendered to the framebuffer or any memory-backed surfaces, but is "inlined" in the video output the same way the (hardware) cursor is - it's effectively an old-school console sprite.

But it does mean you're limited in the things you can do with it - when Office 2013 gained that fancy animated caret they had to do it themselves, similarly the caret in Atom and VSCode are both software-based.