News for hackers. Stuff that matters.
Re:Optimizing Rust Struct Size by kibwen on Saturday April 15, 2017 @05:55PM (#14123062)
To elaborate: for a long time (since before 1.0) Rust has had a tool called Crater, which attempts to compile every library on crates.io using two different versions of the compiler, to see if the newer version of the compiler has caused any regressions. What's happened recently is that Crater has been superceded by a new tool, called Cargobomb, which not only compiles public Rust code, but also attempts to run test suites (among other things, see https://github.com/brson/cargobomb/blob/master/README.md). What's great about this new approach is that it can find regressions that wouldn't manifest as compilation errors, such as the field reordering changes described in the OP.
Re:Optimizing Rust Struct Size by kbenson on Monday April 17, 2017 @07:50PM (#14135445)
> which not only compiles public Rust code, but also attempts to run test suites

Ah, giving CPAN Testers[1] some competition. :)

If you haven't already got plans for it (or already done it!), I highly suggest starting an initiative to get lots of donated resources so you can really fill out a testing matrix and make it public[2]. Perl's CPAN a good place to look for what works and what they would do differently (or what they have planned), as they have an amazingly robust module testing ecosystem.

1: http://www.cpantesters.org/

2: http://matrix.cpantesters.org/?dist=Path-Tiny+0.104