4 ms·
Google uses no versioned libraries?
by alexnewman 7y ago
Google uses no versioned libraries?
- chrisseaton 7y agoI think they do, but there is only ever one single version in use - the version in the repo.
- minxomat 7y agoYes, and that prevents duplication of work when it's time to upgrade: https://github.com/microsoft/TypeScript/issues/33272 https://github.com/microsoft/TypeScript/issues/33272
- user5994461 7y agoIf so, they would have a massive problem upgrading libraries like numpy because there are too many and too big breaking changes between releases.
- deleted 7y ago[deleted]
- jumpingmice 7y agoInside Google's main repo there are different build targets for libraries with incompatible API changes that are too difficult to fix all at once, e.g. there might be numpy_1_8 and numpy_1_10 separately. Python at Google muddled along for years without numpy at all so it's not like anyone would be seriously harmed by having an old release in the repo.
- Cedricgc 7y agoLibraries internal to Google are kept at the latest and consumers are updated to use the latest APIs. 3rd party libraries are checking into the monorepo at a specific version and everyone uses the same version.
- kyrra 7y agoIt's documented here https://opensource.google/docs/thirdparty/ https://opensource.google/docs/thirdparty/
- deleted 7y ago[deleted]