
Crystal: The Language I Didn't Know I Needed
How I discovered Crystal while building a NES emulator in Ruby, and why this compiled language with Ruby-like syntax became my go-to for performance.

How I discovered Crystal while building a NES emulator in Ruby, and why this compiled language with Ruby-like syntax became my go-to for performance.

Save money on Heroku by sharing one Postgres database across multiple apps. Step-by-step guide using schema_search_path for Rails developers.

How I built a 4-bit CPU from scratch with integrated circuits and breadboards, covering the clock, ALU, registers, and RAM.

A deep dive into how ActiveRecord defines getter and setter methods from your database schema using Ruby metaprogramming and the AttributeMethods module.

Learn how to create a Domain-Specific Language (DSL) in Ruby using metaprogramming, define_method, class_eval, and ActiveSupport::Concern.

Welcome to my blog! I'm Matias Salles, a software engineer sharing insights on Ruby, electronics, and software engineering.