logoalt Hacker News

godelskitoday at 4:56 PM1 replyview on HN

  > How often do you load it
A few dozen times a day?

I live in the terminal and opening files with vim is the primary way I interact with them.

  > Do you not just open the project once at the start of the day and then continue working?
I mean I do this too

  > projects which take minimum 40 minutes to build
This sounds problematic and a whole different category of problems.

Don't you have partial compiles? Parallel compiling? Upgrade your machine?

But it's not just startup time. I use less RAM, less CPU resources, jumping through tags is instant, working through the debugger is instant, opening new files is instant, fuzzy searching my system is instant. It sounds like the program you're working on and your editor are fighting for resources and I've never faced that problem with vim


Replies

gambitingtoday at 5:04 PM

>>Don't you have partial compiles? Parallel compiling?

We do. Without it it it takes over 3 hours for a full project build. Normally if I change one line of code and hit "run" it takes ~10-15 minutes for the app to start, depending on which file I changed.

>>Upgrade your machine?

It's a 64 core/128 thread core Threadripper workstation with 256GB of ram, so not many upgrade options from that.

It's a huge C++ project, heavily templated, that's kinda normal. My previous 2 projects were also like this.

show 1 reply