5 ms·
I'm a big fan of rust (hence my username), and would like to know if there have been any non-trivial benchmarks of Rust's compilation time, and the performance
by rustc 13y ago
I'm a big fan of rust (hence my username), and would like to know if there have been any non-trivial benchmarks of Rust's compilation time, and the performance of compiled executable.
Last I checked Rust took about 40 minutes to compile itself on my laptop. Is it still the case? (I haven't touched Rust for a month or so.)
Also, is anyone using Rust in non-toy projects? (Except Mozilla's own servo.)
- dbaupp 13y agoAre these the sort of benchmarks (of compiled executables) you are looking for: http://pcwalton.github.io/blog/2013/04/18/performance-of-sequential-rust-programs/ http://pcwalton.github.io/blog/2013/04/18/performance-of-seq... ?
- rustc 13y agoThanks for the link. They're good, but I'd really like to see the comparison of memory safe version and parallel version, compared to languages which compete on those fronts (as the comments on that post have already requested), as that would really be the selling point of Rust IMO.
- fzzzy 13y agoIt's still a little early to be benchmarking the scheduler as it is currently undergoing a large rewrite, I believe.
- MaxSize 13y ago> Also, is anyone using Rust in non-toy projects? Since it's not production ready yet: no
- FreezerburnV 13y agoYou should double-check what kind of projects are being worked on before saying that it isn't being used for non-toy projects :) I can list at least two off the top of my head: Q^3, which can render Quake 3 maps and will eventually be its own game: https://github.com/Jeaye/q3 https://github.com/Jeaye/q3 Servo, an experimental web browser being written by Mozilla: https://github.com/mozilla/servo https://github.com/mozilla/servo
- MaxSize 13y agoFor me, a non-toy project is a project that runs in production, where I can build my business on.
- erickt 13y agoI love rust, but we have not yet finalized the syntax and the semantics yet, so it'd be risky to write mission critical things in it. Our plan is to hit 1.0 by the end of the year. That said, rust has been written in rust, and every commit is tested against our test suite on Linux, OS X, BSD, and Windows. So while the language itself may be changing, any code you write in it at a given point in time should work. It'll just take some (small) effort to keep that code in sync with the compiler. So if you are able to handle that risk, we'd love to have you try it out. It'd really help us find the warts in the language/stdlib before we lock in 1.0.
- pnathan 13y agoRust isn't there yet in my opinion. The syntax and semantics are still undergoing development, and the standard library is still in the process of definition. If you want to rewrite your codebase on a quarterly to cope with the changes, that's up to you, but I wouldn't. I'm waiting for 1.0 to really start writing code in it.
- prg318 13y agoThere is also a Famicom/NES emulator written in rust: https://github.com/pcwalton/sprocketnes https://github.com/pcwalton/sprocketnes
- copx 13y agoI would say benchmarking the compiler at this point is a little premature. As far as I know they have not even finalized the language yet.