Building GnoSocial: A Decentralized Microblogging Platform on Gno.landIntroduction Gno.land is an open source smart contract system, built using Gno, an interpreted, fully deterministic language based on and extremely similar to Go. It empowers developers to build sophisticated smart contracts using the simple and fami...Jul 5, 2024·9 min read
Ruby/Crystal/Rust Advent of Code 2022 - Day 7Day 7 finds us still working with that pesky communication device. For today's task, though, all that we have to do is to analyze its filesystem. No worries, right? Let's see! Can pattern matching come to the rescue? The Repository All of the code fo...Jan 12, 2023·16 min read
Ruby/Crystal/Rust Advent of Code 2022 - Day 6Day 6 is a fun one. The task itself is very simple, but I took it as an opportunity to do some performance benchmarking and explore some of the nuances around how implementation affects performance. Read on for more details! The Repository All of the...Jan 6, 2023·26 min read
Ruby/Crystal/Rust Advent of Code 2022 - Day 5Day 5's challenge was interesting less for the challenge itself, which can be implemented in a handful of lines, even in Rust, but rather for the mandatory precursor to all Advent of Code challenges -- the input data parsing. Today's input data is mo...Jan 2, 2023·27 min read
Ruby/Crystal/Rust Advent of Code 2022 - Day 4Day 4 takes an interesting turn with our Rust solutions. They are taking another shift towards architectural parity with the Ruby and Crystal solutions. Rust isn't object-oriented in the same way that those two languages are, but it does have object-...Dec 28, 2022·20 min read
Peeking into RustRecently, I was working on a Rust exam that had the following question: /// Consider this Rust code: fn sort(items: &mut Vec<u32>) { // Implementation goes here } /// /// The signature above makes sense for a sorting algorithm that: /// /// - a...Dec 23, 2022·14 min read
Ruby/Crystal/Rust Advent of Code 2022 - Day 3The Elves are on a roll as they get ready to head into the jungle on day 3 of Advent of Code. As usual, though, they need some help. The Repository All of the code for this day's solutions, as well as the data input file, can be found at: https://git...Dec 22, 2022·20 min read