Rust: Getting the factorial of n

Yes, I know writing a factorial function is pretty trivial, but since I am learning Rust from scratch, it is the second program I wrote on it (after the "Hello world"). This is the code for a recursive factorial in Rust: Though pretty simple, this code contains several interesting things, so, let's explore them. Notice… Continue reading Rust: Getting the factorial of n


Rust: Hello world

I am starting to learn Rust and I am finding it very very interesting. Rust is a statically typed, native programming language that pretends to be a nice and modern replacement for C and C++. It implements a very nice set of rules that make your program robust and reliable on memory handling in compile… Continue reading Rust: Hello world