Err Too many redirects
Rust Lang in a nutshell
11–20 of 36 posts
Re: Rust Lang in a nutshell
#12Looks like it's down. Webcache version - https://webcache.googleusercontent.com/search?q=cache:SHrbch...
Re: Rust Lang in a nutshell
#13Example for skipping return keyword in case of early return is just wrong. It can be made to work if you have if x > 0 { x } else { x + 1 } but then it isn't early return anymore.
Try removing the `return` and the semicolon.
Re: Rust Lang in a nutshell
#14Example for skipping return keyword in case of early return is just wrong. It can be made to work if you have if x > 0 { x } else { x + 1 } but then it isn't early return anymore.
Re: Rust Lang in a nutshell
#15Re: Rust Lang in a nutshell
#16Re: Rust Lang in a nutshell
#17Re: Rust Lang in a nutshell
#18I'm increasingly intrigued by Rust. Can anyone recommend a good analysis / benchmarking of Rust compared to C/C++ code? Curious how it fares on a performance basis.
C: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Clang (for common llvm backend between rust and c): https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
C++: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Rust is pretty much on par with both C and C++.
Re: Rust Lang in a nutshell
#19I'm increasingly intrigued by Rust. Can anyone recommend a good analysis / benchmarking of Rust compared to C/C++ code? Curious how it fares on a performance basis.
This is by no means scientific, but it’s a fun benchmark, there’s some debate about the fastest Rust options submitted (ie I believe there were faster than C versions that were rejected). C: https://benchmarksgame-team.pages.debian.net/benchmarksgame/... Clang (for common llvm backend between rust and c): https://benchmarksgame-team.pages.debian.net/benchmarksgame/... C++: https://benchmarksgame-team.pages.debian.net…
It's actually very scientific (testing hypothesis, measuring results, etc) but might not be generalizable.
Re: Rust Lang in a nutshell
#20_An Introduction to Rust featuring Carol Nichols and Jake Goulding_, https://www.heroku.com/podcasts/codeish/34-an-introduction-t...