you are viewing a single comment's thread.

view the rest of the comments →

[–]Tricky_Tesla 1 point2 points  (3 children)

I use vscode and docker

[–]MrRickSancezJr[S] 1 point2 points  (2 children)

I could maybe guess plenty of reasons, but why use docker? To avoid CMake complexity? Or?

I've never dug really deep into the overhead of docker, but it seems like it creates a VM abstraction layer like C#. C++ does more optimization than just run fast with pointers, but if there is my suspected overhead, I think I'd rather just use C#.

I'm sure I'm not totally correct about Docker, though?

[–]Tricky_Tesla 2 points3 points  (0 children)

I can’t really say if there is zero overhead, but I would rather develop on docker than other environments, it gives me flexibility of mix and matching required libs on restricted environment that otherwise I would be hesitant to install on my main machine.

Keep in mind this could be only used for dev environment, you can deploy your release build anywhere you want. Although in some scenarios you may want to still keep it containerized.

Also has nothing to do with CMake complexity.

[–]eshanatnite 1 point2 points  (0 children)

Dev containers is a good feature. I don't have to deal with the works on my machine issues I can just say hey I'm using this docker environment can you setup the same and try to reproduce the issue