News for hackers. Stuff that matters.
Re:The iPad Mystery by Jtsummers on Monday May 15, 2017 @10:36AM (#14341882)
Electron apps strike me as the 201x's Visual Basic application. It's more polished looking, prettier, and uses a (debatable) better language. But it's mistaking a prototyping system for something meant for releases. It's easy for people to get it up and running and do lots of neat things. Fine, now you've got that out of the way, get the underlying code to be fast and memory efficient and you have a deliverable application. Don't do that, you're just shipping a prototype.

I see something similar in the hobby hardware space. Everyone using microcontrollers (and some really powerful ones) for tasks like homemade smart lights. It's way overkill, but it gets the job done and done quickly. And as a hobbyist it's great because it's infinitely reusable. But that doesn't make it the right thing to use for a shipping product.

Re:The iPad Mystery by digi_owl on Monday May 15, 2017 @12:07PM (#14342660)
Brings to mind Cstross' story about how he ended up writing scifi. At one point it involves pressing a massive proof of concept perl script for a UK online payment service into production, and keeping it afloat as companies and banks piled on.
Re:The iPad Mystery by TheCoelacanth on Monday May 15, 2017 @01:51PM (#14343548)
For many applications, it isn't financially viable to ever make them fast and memory efficient because compute time is just far, far cheaper than programmer time. Electron is perfect for that type of application.
Re:The iPad Mystery by Jtsummers on Monday May 15, 2017 @02:03PM (#14343655)
Is that really true? I mean, is it cheaper to write programs using javascript and Electron than a native GUI? It's cheaper to port, I'll grant you, compared to something written to target a native GUI. But, hell, even java and flash had a better memory and CPU story than Electron.

EDIT: Ok, to expand on this. Running a small number (< 5) of Electron-based applications on my MBP with 16GB of memory feels like running the same number of instances of Eclipse circa 2005 on my shitty, cheap HP laptop. Nothing else can run alongside them because they're so memory/CPU hungry. But here's the thing, computers have gotten better since 2005. What's the rationale for such poor performance with these apps? my computer has 8x the memory today (maybe more) than that one had. The clock is up by 2-3x. Cores increased by 4x.

There's no excuse for this in final, deliverable products.

Re:The iPad Mystery by TheCoelacanth on Monday May 15, 2017 @03:27PM (#14344379)
> There's no excuse for this in final, deliverable products.

There is an excuse for it if you aren't willing to pay for faster software. Cheap is more important than fast for most software products.