22x Faster Builds: Inside GALA's Compilation Performance JourneyHow profiling, batch analysis, and content-addressed caching took multi-file compilation from 44.7s to 2.0sMar 29, 2026·6 min read
samber/lo Has 21K Stars. Here's What It Would Look Like as a Language Feature.Mar 19, 2026·9 min read
Pattern Matching in Go: How GALA Brings Sealed Types and Exhaustive Matching to the Go EcosystemGo is a language built on simplicity. But simplicity has costs, and one cost Go developers feel acutely is the lack of pattern matching and algebraic data types. If you have ever modeled a closed set Mar 15, 2026·11 min read
Enhancing Golang with Scala-Style Option Handling for Safer CodeAs a developer and a fan of Scala and functional languages I really like to have an ability to be able to handle optional or nullable objects safely and be able to chain them to something new. Standard way to handle them in Golang is to handle them i...Jul 4, 2024·2 min read
Unlocking Scala Mastery with my leetcode Solutions ArchiveIntroduction I have decided to dump my personal leetcode solutions archive. Currently it contains Scala solutions only. I will eventually publish all the remaining solutions in GO, JS and PHP and others. These solutions have been collected over years...May 18, 2024·1 min read
Understanding Scala Extractors: An Easy-to-Follow ExampleLet's implement a simple case class that represents a Time object that contains hours and minutes. For simplicity, we will use 24-hour clock. case class Time(hour: Hour, minutes: Minute) case class Hour(hour: Int) case class Minute(minute: Int) Now ...Aug 12, 2023·3 min read
Exploring Immutable Arrays in Scala: A Deep Dive into VectorsScala Array is not located in the scala.collection.mutable package, however, they are in fact mutable val arr = Array(1,2,3) arr(1) = 3 println(arr.mkString(",")) // 1,3,3 Immutable alternative to Scala Array is Scala Vector val arr = Vector(1,2,3) ...Aug 12, 2023·1 min read
Unlock the Power of Scala's Chaining Utils: A Guide to Tap and PipeThere is an amazing util in Scala that is available in scala.util.chaining._. It adds two implicit methods to any scala object that allow chain commands (pipe) and apply side effects (tap). Tap example import scala.util.chaining._ trait StatsCounter...Aug 11, 2023·1 min read