The Fastest FizzBuzz Implementation
> As of this writing, the 3rd fastest submission is written in Rust and produces out at a rate of 3 GB/s, 2nd is written in C and produces at a rate of 41 GB/s and the fastest is written in Assembler and produces at a rate of 56 GB/s.<p>This makes me happy. The order is exactly as it should be, much to the disappointment of the Rustaceans.<p>It's a nice reminder that for the ultimate performance, there is no substitute for knowing exactly what the assembler is doing.<p>It's also a nice reminder that most of us will never want to do that.<p>EDIT: Whoa. It's late, and I thought Rust was at 30 GB/s instead of 3, i.e. roughly neck and neck with C. I meant to make a good-natured joke. There must be something wrong with the Rust implementation to be 10x slower; I wonder what it is.<p>As I mentioned further down in the comments, I'll donate $500 to Watsi if someone manages to displace the C implementation in Rust or any other language besides C/C++/ASM. Be sure to DM me on Twitter (<a href="https://twitter.com/theshawwn" rel="nofollow">https://twitter.com/theshawwn</a>) if you do, both so I'll see it and so that I can congratulate you. I'm sure it's possible, but it's sort of interesting that the activation energy is so high.