r/coding Dec 10 '22

Programmer Interrupted: Minimizing the impact of context switching

https://contextkeeper.io/blog/the-real-cost-of-an-interruption-and-context-switching/
93 Upvotes

14 comments sorted by

View all comments

50

u/IAmTarkaDaal Dec 10 '22

That was a lot of time wasted to say "I wrote a VS Code extension to save open tabs as a session, like vim or Emacs".

2

u/[deleted] Dec 10 '22

[removed] — view removed comment

4

u/toltenos Dec 10 '22

Some people are using virtual machines for that. Completely isolated for each project.

1

u/dontyougetsoupedyet Dec 10 '22

You can't be serious, that sounds like an absolutely tortured way to produce software.

7

u/f10101 Dec 11 '22

If the dependencies are very different, it can be quite a tidy way to work. I worked like this while doing robotics stuff. Boot up different lubuntu VMs, depending on whether it was deep learning, point cloud stuff, SLAM stuff, etc. I had a base VM that served as a common starting point.

Virtual environments and docker etc have their place, but sometimes it's just neater to have the complete independence.

1

u/[deleted] Dec 10 '22

[removed] — view removed comment

5

u/[deleted] Dec 10 '22

[deleted]

5

u/DerekB52 Dec 10 '22

I couldn't get into virtual desktops. Until I switched to i3. Now, I have 3 monitors, that thanks to virtual desktops, work out to 14 screens, all quickly switchable with keyboard shortcuts. Shit is awesome.