Skip to content

Instantly share code, notes, and snippets.

@rdiaz82
Last active September 4, 2018 23:39
Show Gist options
  • Save rdiaz82/528db34651f9e305a489be7582e31c05 to your computer and use it in GitHub Desktop.
Save rdiaz82/528db34651f9e305a489be7582e31c05 to your computer and use it in GitHub Desktop.

100 Days of Code (Rust + Spacemacs)

Day 1

Installed all the neccesary tools in order to develop with Rust using Spacemacs. I also have installed the Rust spacemacs layer and configured πŸš€

Day 2

Started to read Rust Programming Language book and implemented my first rust app, with the classical "guessing the number". I have checked a little bit of magit in Spacemacs and also configured the github layer in order to edit gists files directly form Spacemacs πŸ˜€

Day 3

Today has been a very productive day from a theorical side! I have read a lot about Rust:

  • Basic Types
  • Flow Control
  • Loops
  • Ownership
  • Slices
  • Structs

As far I have read, the most weird thing is the ownership, a very weird way to manage the allocation and "garbage collection". On the other hand, Structs seems quite powerful.

Day 4

Today has been another theorical day. I have read about enums and pattern matching. I have also check some projects implemented in rust and I have started to find modules for the most common things, databases drivers, rest api, aws support etc... I think that I need some inspiration in order to find a project to develop in Rust.

Day 5

Today I have read about modules structure and general information about collections. On the other hand, I have discover Exonum a open source framework to create blockchain solutions completely developed in Rust. I'm thinking about a toy project based on it...

Day 6

Near the end of the first week 😊 Today I have read about error handling in Rust and I also deal with the Pytagorean Tiplet problem in Exercism. I solved the problem using loops and also using iterators.

Day 7

Wow! the first week has finished πŸ’ͺ. Today I have read about Generics, Traits, Lifetime and testing. I have also practiced a bit in Exercism solving a simple loop problem using iterators

Day 8

Today I have learnt about command argument processing, and anonymous functions. Tomorrow I would like to continue with more functional concepts in Rust :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment