News for hackers. Stuff that matters.
Re:Why do we create modern Desktop GUI apps using HTML/CSS/J... by iudqnolq on Tuesday February 07, 2023 @04:02PM (#34699580)
I wonder if the difference is that we're not editing simple text files. Once you're effectively running a compiler on the fly to provide proper tooling then this memory usage isn't the big problem comparatively.
Re:Why do we create modern Desktop GUI apps using HTML/CSS/J... by heleninboodler on Tuesday February 07, 2023 @06:36PM (#34701596)
That definitely doesn't explain the difference for me, since in my current position I hardly write any code but I use VSCode constantly for editing plain text and I still see it go resource-nuts once a week. I assume that it has something to do with the fact that opening vscode to edit a single file results in a dozen processes with varying "-type=" arguments. I currently see --type=gpu-process, --type=renderer (x2), --type=zygote (x2), --type=ptyHost, --type=searchService, --type=watcherService, --type=extensionHost, --type=utility, and two processes without a --type argument. Eventually one or more of these processes will go nuts and start chewing CPU endlessly, it'll all go unresponsive, and I'll notice that my memory usage is pegged, then I'll restart the whole lot and everything will be better.