Skip to main content

Scala

Sail. Sailing Through Giants and Sparks

·7 mins
In this article, I share my critical view on the current state of data engineering, dominated by heavyweight platforms like Spark and Databricks, and introduce Sail, an open-source engine built on top of Apache Arrow and DataFusion, written in Rust, that offers a new path: lightweight, efficient, and powerful.

The Forge of Typeclasses 🔥

·9 mins
We explore in detail what typeclasses are, how to define them in Scala 2, and how they are implemented in other languages such as Haskell and Rust. Through practical examples, we demonstrate how to model behaviors clearly and scalably using this powerful design pattern in functional programming. We also discuss automatic derivation and the improvements Scala 3 brings to this area.

First Steps in Rust 🦀

·5 mins
My first impressions of Rust from a functional programming background (Scala and Haskell). A mix of excitement, frustration, and a paradigm shift in thinking.

Mutate by Immutable Way

·5 mins
Modify object properties in Scala without losing immutability. Explore the copy pattern to create new instances with specific changes while maintaining safety and correctness. A practical and elegant solution, perfect for concurrent and reactive systems.