News for hackers. Stuff that matters.
Re:Clang-11.0.0 Miscompiled SQLite by g_airborne on Thursday June 04, 2020 @02:35AM (#23413289)
Somewhat unrelated but I read somewhere that the Rust team test their releases by compiling the entirety of crates.io and all Rust GitHub repositories to find regressions. The tool is called Crater. Source: https://www.pietroalbini.org/blog/shipping-a-compiler-every-...
Re:Clang-11.0.0 Miscompiled SQLite by twic on Thursday June 04, 2020 @02:11PM (#23419859)
I was reading the docs of some library the other day, and they had a list of projects using that library. It was an impressive list: long, and with some serious projects on there.

Then i saw that they try building those projects against their library as part of their test pipeline. If you want to add your project to the list, you can submit a pull request. No wonder the list is so substantial - it gets you free testing! Highly ingenious!

Re:Clang-11.0.0 Miscompiled SQLite by grenoire on Thursday June 04, 2020 @04:21AM (#23414056)
No longer the entirety but still a sizeable chunk of it; it helps with regression detection for them. World's biggest test suite?
Re:Clang-11.0.0 Miscompiled SQLite by jfkebwjsbx on Thursday June 04, 2020 @05:38AM (#23414526)
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.

Re:Clang-11.0.0 Miscompiled SQLite by pornel on Thursday June 04, 2020 @07:12AM (#23415085)
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.
Re:Clang-11.0.0 Miscompiled SQLite by jfkebwjsbx on Thursday June 04, 2020 @05:09PM (#23421830)
Only open source projects, which will not be the majority if Rust ends up taking up speed.