News for hackers. Stuff that matters.
Re:Psst: Fast Spotify client with native GUI, without Electr... by ducktective on Tuesday August 17, 2021 @01:54AM (#28206626)
Didn't downvote, but can you name a couple of Electron apps that are sna...,hell,.. not sluggish?

People usually point to VSCode...If that is the epitome of a responsive, lag-free software then I claim Electron defenders haven't seen snappy application.

Do people even remember Winamp?

Re:Psst: Fast Spotify client with native GUI, without Electr... by yboris on Tuesday August 17, 2021 @11:13AM (#28210755)
I built an Electron app Video Hub App and it's fast:

https://github.com/whyboris/Video-Hub-App

Electron is overkill for a todo app that you want users to open/close many times per day. But if it's an app that's used for 90% while it's open and is used a few times per week, who cares if it takes 2 seconds to start?

I don't understand what everyone is moaning about with Electron. My app uses 130mb of RAM -- is that too much to ask for, for a dedicated video browser?

ps - here's also a file renamer I built with Electron: https://github.com/whyboris/Simplest-File-Renamer

Re:Psst: Fast Spotify client with native GUI, without Electr... by kristiandupont on Tuesday August 17, 2021 @02:35AM (#28206843)
In my experience, my VSCode setup responds just as fast as my fully extended VIM does.
Re:Psst: Fast Spotify client with native GUI, without Electr... by inter_netuser on Tuesday August 17, 2021 @03:29AM (#28207162)
Are you remoting into your vim on a satellite link or some really far away box somewhere?

I see no other rational explanation here

Re:Psst: Fast Spotify client with native GUI, without Electr... by jamil7 on Tuesday August 17, 2021 @02:53AM (#28206940)
Somethings wrong with your vim setup then.
Re:Psst: Fast Spotify client with native GUI, without Electr... by skydhash on Thursday August 19, 2021 @08:08AM (#28232776)
I barely have released the return key after typing mvim and the macvim window is already there. Even Sublime is not that fast.
Re:Psst: Fast Spotify client with native GUI, without Electr... by iCarrot on Tuesday August 17, 2021 @02:17AM (#28206741)
Aside from the initial load that all Electron apps suffer from, Insomnia feels pretty snappy to me. Granted, I only have a few dozens of API that load 20KB of JSON max.

https://insomnia.rest/

Re:Psst: Fast Spotify client with native GUI, without Electr... by vladvasiliu on Tuesday August 17, 2021 @03:34AM (#28207192)
I love Insomnia and usually recommend it to others.

But I remember a few months ago I was developing a basic API and testing it through Insomnia. At first, I almost had a heart attack seeing the time it took to answer, between clicking "send" and getting a response back. All this running on localhost, on an old but fairly powerful box (i7-3930k, 64 GB ram). My first reaction was I must have had some sleep() lying around.

Then I looked at the details, and the actual time taken handling the call, etc, as reported by Insomnia was a few ms, all the rest was... I don't know what.

But I do agree than other than that, when interacting with the app itself (switch requests, type, etc) it feels snappy enough. I usually use it alongside IntelliJ, which while fairly fast, isn't terminal-level instantaneous.