DEV Community

Discussion on: Does your website really need to be larger than Windows 95?

 
leoat12 profile image
Leonardo Teteo • Edited

My point of view about Electron is purely as an user, although a more knowledgeable one as a developer and to me its performance is the main issue. For main developer tasks, I use InteliJ IDEA, but I use VSCode to do some tasks I find easier there and to not create files on the project just keep a response from an API saved, etc. Okay, I use it and then I leave it opened there since I will need at some point later. When the time comes and I summon the windows it takes a bit more time than I think it is really necessary to come up, it takes less time to start it again than coming back to it later. With Postman is even worse, I have to literally close and open it again to make it usable again. I found out later that all of them have Electron in common. I read that Electron has memory management problems and I think it is true by my own experience.
InteliJ takes longer to start, but once it is done, the performance is constant, I can keep it opened the entire week without worries. For an IDE and development tools this is very important.

Thread Thread
 
tux0r profile image
tux0r

Okay, I use it and then I leave it opened there (...) I can keep it opened the entire week without worries.

That's fine if your machine does have enough "free resources" and you don't care about the power usage (and the environmental consequences). But some day your IntelliJ will require more resources than your computer could offer - and then? Time for a new computer, scrapping the old one?

Thread Thread
 
leoat12 profile image
Leonardo Teteo

When I mean the entire week, I mean to use it all day, suspend the notebook at the end of the day and come back up in the morning every day, Friday I shut down the notebook and we are back Monday. It uses 1~2 GB of memory, I bet Chrome uses more or less than same and I don't think VSCode can do any better than that if I used it to develop my apps and with less features, so... Well managed 2 GB is better than badly managed 2 GB.

Thread Thread
 
tux0r profile image
tux0r

The problem is that you consider 2 GB acceptable for any application.

Thread Thread
 
leoat12 profile image
Leonardo Teteo

I didn't say I consider acceptable for any application, I'm talking about InteliJ IDEA, arguably one of the best and full of features IDE. I don't think Chrome memory usage is acceptable, for example. It is a matter of giving and taking. We cannot come back to Windows 95, things evolved and accumulated, the applications will get bigger and more memory consuming. If it is fair or not is a case by case issue.

Thread Thread
 
tux0r profile image
tux0r

We cannot come back to Windows 95

And this is the core of the discussion: Why not? Why do we always need to make software fill all resources? What's wrong with efficiency?