Hi there,
In light of the recent rust 1.0 release I’ve added support for rust 1.0 to my compiler assembly explorer. It allows you to write code and see the assembly code emitted interactively. It’s online at http://rust.godbolt.org/ - you’ll need to make a “pub fn testFunc” or similar to get code actually visible.
I’m a complete rust newbie so thoughts welcomed: the source is on github if you care to look.
One thing I’ve noticed - coming from the C++ world - the rust code generation seems a little substandard. Take for example the one and only example I’ve gotten working. Visiting http://gcc.godbolt.org/ and trying the same example in clang with appropriate options (http://goo.gl/4Zexu0 for example) yields beautiful vectorized code. Is there an a command-line switch I’m missing?
Hope you guys find the tool helpful, and thanks in advance for any ideas on improvements and/or how to showcase the blazing fast speed of rust better.
Thanks! Matt