News for hackers. Stuff that matters.
Re:Ask HN: Programs that saved you 100 hours? by murukesh_s on Monday April 13, 2020 @12:22AM (#22853158)
Couldn't agree more.. People who say Electron (on which VSCode is running) is bloated and is slow probably haven't worked on full fledged IDEs using Java.. they consume memory in Gigabytes, are slower, at least appear to be slower, despite using native UI and takes a lot longer to open.
Re:Ask HN: Programs that saved you 100 hours? by luckylion on Monday April 13, 2020 @03:29AM (#22853839)
How often do you open your IDE though?

I switched form VSCode to PHPStorm half a year ago, and while it feels a bit slower, the improvements are so unbelievable worth it for me. It does have a taste for memory, but then again, it easily saves me a lot of time each month, so just throwing RAM at it was a no-brainer for me.

Re:Ask HN: Programs that saved you 100 hours? by BrandoElFollito on Monday April 13, 2020 @03:58AM (#22853966)
I use PyCharm and tried several times to such to vscode. I forced myself to only use vscode for 10 days.

I was relieved when I switched back to PyCharm.

Vscode is nice but still quite far away from some good IDEs.

Re:Ask HN: Programs that saved you 100 hours? by tracker1 on Monday April 13, 2020 @10:16AM (#22856021)
Depends... I'll open/close a few times a day as I touch several projects. I can use VS Code for everything from db/sql, react, node and c# (.net core) projects. I also have used it for a little rust and golang.

As to the RAM, it's using around 1.2gb between vs code and the connecting server (WSL2), multiple isntances vary... but with the number of containers and VMs I'm running, I'm generally well over 16gb of use, and I have 64gb on my desktop. So even without VS Code, I have trouble on a 16gb system.

Re:Ask HN: Programs that saved you 100 hours? by luckylion on Monday April 13, 2020 @11:18AM (#22856565)
Yeah, IntelliJ-based IDEs are hungry, but even if mobile, I figure I'd just spend the extra money to get plenty of RAM, it's that good (to me at least).

I usually run 3-5 instances for different projects and it'll hover around 3gb RAM, but it appears that they share a lot of memory, closing one or opening an additional project has no visible impact.

Re:Ask HN: Programs that saved you 100 hours? by nicoburns on Monday April 13, 2020 @07:08AM (#22854760)
In my case, often several times an hour. I work across 6-10 dofferent repositories. Opening them all at once is impractical, so being able to open each of the them quickly is quite important.
Re:Ask HN: Programs that saved you 100 hours? by rhlsthrm on Monday April 13, 2020 @07:36AM (#22854906)
Have you tried multiple repositories in a VSCode workspace? It does a great job of managing multiple repos, git diffs, etc.
Re:Ask HN: Programs that saved you 100 hours? by nicoburns on Monday April 13, 2020 @07:44AM (#22854944)
The problem I have with this is it makes "Go to file" functionality a bit too broad. e.g. If I want to open `package.json` I now have to choose between 10 different files. As I often `Cmd-P`, type pa, `Enter` without even looking, this makes it considerably slower.

I also have to do a lot of context switching (e.g. to review someone else's code), and being able to have a separate set of tabs (even within the same repo) is super-useful for this.

At previous jobs with less separated out code, I have taken this approach (although with Sublime Text rather than VSCode).

Re:Ask HN: Programs that saved you 100 hours? by tracker1 on Monday April 13, 2020 @10:19AM (#22856038)
Agreed... deeply nested directory structures are also pretty painful.

Even in the mono-repos I work with, I'll generally open an editor per inner repo. Mostly ./feature/featurename/filename is as far as I have to open. Some of the C# projects are deeper though.

Re:Ask HN: Programs that saved you 100 hours? by AnIdiotOnTheNet on Monday April 13, 2020 @10:29AM (#22856132)
Or they have worked on full-fledged IDE's like VS 6, which starts up quickly and is super responsive even on period hardware.
Re:Ask HN: Programs that saved you 100 hours? by fendy3002 on Monday April 13, 2020 @06:58PM (#22861089)
Oh how the tables are turned... Coming from VS2008-2010, it's weird to see someone said Visual Studio is fast
Re:Ask HN: Programs that saved you 100 hours? by Xelbair on Tuesday April 14, 2020 @05:55AM (#22864186)
VS2019 is pretty damn good.

I use it daily for .net coding, while i use VS code for everything else.

Re:Ask HN: Programs that saved you 100 hours? by rafaelvasco on Tuesday April 14, 2020 @12:03AM (#22862654)
VS2019 is pretty fast, provided you don't use too much plugins.
Re:Ask HN: Programs that saved you 100 hours? by saagarjha on Monday April 13, 2020 @12:44AM (#22853238)
Eclipse isn't a particularly good user of Cocoa, is it?
Re:Ask HN: Programs that saved you 100 hours? by zamalek on Monday April 13, 2020 @01:44AM (#22853459)
It does something completely its own (and horrible/slow) on Windows (possibly one of the 6534 equally awful Java UI packages), so I can't imagine it does anything better with iOS.
Re:Ask HN: Programs that saved you 100 hours? by p_l on Monday April 13, 2020 @03:01AM (#22853748)
Eclipse uses SWT, which actually piggybacks on native toolkits, though I don't know if it doesn't go through some ancient version of GTK in the process.

AWT/Swing based IntelliJ manages to be much, much faster in comparison.

Re:Ask HN: Programs that saved you 100 hours? by hellofunk on Monday April 13, 2020 @03:57AM (#22853963)
I think you mean macOS.