Back in my journey of trying to learn zig on one of those days when I couldn’t get myself to sleep I thought, why not make a game using zig? Yes, the question is always “why?” and the answer is always “why not?” So another one of my phases began, I started looking into some lib or anything that I cloud make an 2d game, I was thinking in using SDL as I already use it in the past with C++, but I remembered raylib and found out about raylib-zig and was an sign for me to start....
Building a JSON Parser in Rust
Introduction I recently took on a challenge to build my own JSON parser in Rust. This project was a fantastic opportunity to dive deep into parsing techniques, which are crucial for everything from simple data formats to building compilers. You can find the full details of the challenge here and the source code in my GitHub repository. The Challenge The challenge was structured to incrementally build a JSON parser, starting with simple JSON objects and progressively handling more complex structures....
Building my own wc Tool in Rust
I found myself not really excited to code anything and that was really bothering me. I was always excited to code something, learning something new and not being able to enjoy it or have the motivation to do it was really driving me crazy. I don’t really know what was the cause but I can’t do anytthing, I felt like I was justing being lazy, tried to read a book, or take a time for myself but nothing really helped....
My First Zig API
There’s this event, which is conceived by Zanfranceschi. Essentially, Zan gave us a specification that we followed to implement an API. For this first quarter edition of 2024, we have a kind of “Bank” where some pre-registered clients check their statements and make transactions. If you want to read more details, I invite you to take a look at the repository of the event, where you can find the specifications along with the rest of the participation instructions and related information....