Hacker News new | ask | show | jobs
by jfkebwjsbx 2211 days ago
It is very common for compilers to be tested using client code. It is a practice that goes back decades.

Nowadays with so many open source projects and so much distributed computer power, it is even easier.

1 comments

What makes it easy and powerful for Rust is that ~all Rust projects use Cargo as the build system and test runner, so Crater can really test every Rust project in existence, not just code samples hand-picked into compiler's test suite.
Only open source projects, which will not be the majority if Rust ends up taking up speed.