
Building a NES Emulator from Scratch: The Book (Crystal)
I built a NES emulator in Crystal. Mario went from 0.5 FPS to 60 FPS. Then I turned the whole journey into a book. Here's what I learned.

I built a NES emulator in Crystal. Mario went from 0.5 FPS to 60 FPS. Then I turned the whole journey into a book. Here's what I learned.

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.