###Aim
To learn the Rust Programming Language by solving Project Euler problems.
All solutions are written and updated for the latest stable Rust release on Windows: Version 0.9
To compile and run the solutions, first follow Rust's Quick Start guide on Github and install Rust for your corresponding system from Rust's Official Website.
After you have installed Rust:
- Clone this repository
git clone https://github.com/listless/Project-Euler-in-Rust.git
- cd into the directory
cd Project-Euler-in-Rust
- Compile the example using Rust's compiler
rustc "Problem xxx.rs"
- Run the executable
These solutions are poor! I know better solutions!
I would gladly like to see other solutions to these problems in Rust! As I'm still learning, my take on the solutions may be pretty amateurish, so I'm very open to learning better ways of solving these problems in Rust!
Why did you do this
or that
? It's unnecessary / inefficient / incorrect!
If you come across anything that seems wrong or badly implemented, please make an issue!
I'd be very grateful to learn more about Rust, programming and problem solving!
Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.
The motivation for starting Project Euler, and its continuation, is to provide a platform for the inquiring mind to delve into unfamiliar areas and learn new concepts in a fun and recreational context.
Rust is a curly-brace, block-structured expression language. It visually resembles the C language family, but differs significantly in syntactic and semantic details. Its design is oriented toward concerns of “programming in the large”, that is, of creating and maintaining boundaries – both abstract and operational – that preserve large-system integrity, availability and concurrency.
It supports a mixture of imperative procedural, concurrent actor, object-oriented and pure functional styles. Rust also supports generic programming and metaprogramming, in both static and dynamic styles.