News for hackers. Stuff that matters.
Re:New Linux Tablet from Star Labs by jauntywundrkind on Thursday August 17, 2023 @09:37PM (#37170524)
I have a tablet with a i5-7200u (2016) with a small-ish ~34WHr battery that gets 7 hours usage easy. How is this "power hungry"? For an ancient quad core & inefficient old storage drive.

As with 90% of everything, people take a bunch of highly viable indicators to decide their opinions & then shit on anything & everything that doesn't meet their set conception. People hate electron because they think of Slack, but Slack has shit ass architecture. Dump it's web data and you'll find dozens of multi-megabyte indexeddb databases with mostly duplicate data. It's just a shit app. You can build shit apps in anything. But vscode being slick fast & smooth doesn't register for anyone. The negative conceptions dominate & rule, are the things that get posted, actively, and with energy. It's a damned shame.

Re:New Linux Tablet from Star Labs by zlg_codes on Thursday August 17, 2023 @10:44PM (#37170892)
I tried VSCode on a Librem 14 by Purism. It has a tenth gen Core i7 with 12 threads. With only very basic essential extensions like syntax, Git integration, and a Vim mode, I could type faster than the view updated.

Electron may be great for people who want to write Web apps, but browsers are RAM and CPU hungry beasts compared to the GUI toolkits they're trying to replace.

In short, which environments are running VSCode smoothly? Do I need next gen hardware to run a damn IDE smoothly?

Web apps have some advantages, but performance is nowhere in that list.

Re:New Linux Tablet from Star Labs by jauntywundrkind on Saturday August 19, 2023 @12:15AM (#37185440)
Your poor performance seems unexpected in extreme. Folks at work are on m1's with quite a lot of extensions & everything feels snappy.

Having a huge git repo could poyentially hurt; would be interesting to test. Who knows maybe vim mode is partly to blame? I personally still mainly use vim, not vscode, so I don't know what usual suspects there are. It'd be awesome if there's good profiling that can show what plugins are taking significant time in the core loop. We have brutal eslint to apply but that for example all happens async. Once again, we're back where we started, of one bad situation - some random plugin somewhere - creating a lightning rod for disdain.