LearningRust
This repo is pretty much just a personal journey to learning Rust as I've gotten quite annoyed at C and C++, I'm waiting on Carbon to come out, and I despise the way Go handles files within its own project folder.
Q and A
Is there any benefit for me?
Probably not, this is a personal repo of learning Rust so I don't expect anyone else to learn something from this.
Some things in this can be done differently/more efficiently/better overall...
Well duh. I'm still fucking learning. You're more than welcome to add an issue ticket but please keep it professional.
Why not learn X, Y, Z?
I wanna learn Rust to get it on my personal record of languages that I know and can help others with. Plus, your X, Y, or Z isn't good enough for me.
Will you abandon this when Carbon releases?
More than likely. But until then, I'm reading from the 2018 version of The Rust Programming Language book, so if you own that or know where to find a copy, feel free to follow along.
Why did you quit the project?
Got bored, was getting tedious. I'm pretty much better off just reading the damn thing and if I don't understand a concept I'll just play around with it in a seperate project folder.
Notes
- I installed
rustup
on 25/10/2022, visual studio tooling crap on 25/10/2022, I use Visual Studio Code for writing, and windows CMD for a terminal. - I tool the liberty in showing my "dev" folder. Basically showing certain notes and useful info as well as the
.gitignore
I used between micro-repos.
Projects and Dates
Project Name | Date (DD/MM/YYYY) | Description |
---|---|---|
hello_world | 25/10/2022 | Simply "Hello World" program. |
hello_cargo | 25/10/2022 | Learn how to use cargo command for a new project as well for building/running. |
guessing_game | 25/10/2022 | Create a guessing game using stdin. |
variables | 25/10/2022 | Learn variables, tuples, and arrays. |
functions | 25/10/2022 | Learn how to use functions. |
branches | 26/10/2022 | Learn how to use if and else if for control flow. |
loops | 26/10/2022 | Learn how to use loops to repeat code. |
ownership | 26/10/2022 | Learn how value ownership works without references. |
references | 26/10/2022 | Learn how to use references. |