1. 5
    1. 2

      I used devcontainers for years for Django development and while devcontainers/Dockercompose certainly is helpful in getting a working system with Postgress, redis, and celery all running at the same time. For smaller python tasks I’ve found that the overhead of having to rebuild the devcontainers whenever I add a dependency is far too high, when virtualenv works just fine. For rust development, the situation is even more extreme. It is just so easy to set up cargo (cargo build just works 99% of the time) that Devcontainers are total overkill. That said, I do try to do my development in a VM because installing random code from the internet is “gross”. I’m still trying to figure out the security aspect of that though. The VM naturally has access to github so I can push my changes, and via github CI/CD my github account can own my production servers. So maybe devcontainers are better in that regard. They just run your code, they don’t have an easy escape to a part of the system with github access. Then again, I’m pushing that code to production, security while collaborating with random strangers on the internet is hard…

    🇬🇧 The UK geoblock is lifted, hopefully permanently.