Welcome to the Rust cult

C++ night sessions stopped being fun after doing more than 150 exercises. I mean, they were extremely helpful for my dev journey don't take me wrong but I wasn't in the audio developer direction anymore so I questioned myself if sticking to them was a good idea. On the other hand, my fascination with terminal based software let me discover beautiful pieces of software made in Rust. I knew there was something special in that language I wanted to explore.

Step by step I have discovered how Rust marvelously synthesized features from Python, C++ and Javascript. During that process I have been amazed by realizing that it is the intersection between the declarative and the imperative programming paradigms. Going through this path has been, like lots of devs say, tough but gradually I've noted that coding Rust is actually a clever way to master popular languages altogether that pays off at the end of the day.

At the time of writing this post, I've done 86 out of 96 rustlings or exercises from the official book. Last 30 rustlings have been challenging but thanks to them I've been able to understand declarative programming, multithreading and smart pointers. Currently, I'm digging on macros which are basically ways to create code with code. That's not often or easily applicable but I need them for a project in a technology called Pure Data I'll talk about in the next entry.

My previous experience with Python sockets for my blackjack game is basically the starting point of a series of hobby projects I'd like to do with Rust. Mostly, they are going to be a few of card games for the terminal. Some of them will have a CPU player to raise the bar a bit higher while some others will focus on functionality. I'm curious about how far I can go with these hobby projects as well as any other sort of projects I can come up with along the way.

I'll make a repo with my rustlings solutions when I'm done with them. Be patient please, I promise I won't take long.


350 Words

2024-10-17