3 ms·
Rust also uses a sizable fraction of all publicly-available Rust code as a regression suite for compiler updates. This allows them to check edge cases that are
by lmkg 9y ago
Rust also uses a sizable fraction of all publicly-available Rust code as a regression suite for compiler updates. This allows them to check edge cases that are "breaking in theory" to find out if there's actually any code that would be broken, or if the edge case had literally not yet been encountered.
- Cshelton 9y agoBy sizable fraction, he is referring to Cargo.io, Rust's public package repository. They literally run all tests against every crate published to the package ecosystem. That is amazing.
- majewsky 9y agoMakes you wonder why no-one else came up with that idea before. I mean, it is pretty revolutionary, but also really obvious in hindsight.
- steveklabnik 9y agohttp://cpantesters.org/ http://cpantesters.org/
- taeric 9y agoI'm curious why this is seen as a new idea. The capability to pull it off is somewhat new. In particular, at such a large scale. But the idea is far from it. Commercial compilers probably had this more than open source ones in the past. Though, oddly, it was probably a weakness in some respects, since it almost certainly slowed feature development/releases.
- sevagh 9y agoCrates.io