Writing Scala DIY style (part1)

Introduction I’ve been contemplating a project in which I recreate commonly used libraries to gain a deeper understanding of their functionality. Many Scala projects rely on a variety of libraries that offer unique features such as effect systems, streams, and other essential components. It’s crucial to understand the purpose of each building block in a modern Scala project. While most of these libraries are well-documented and provide ample information about their design choices, I believe that the most effective way to grasp the author’s intent is by re-implementing the library yourself....

April 8, 2023 · 5 min · 1040 words · benetis

Conway's Game of Life

Introduction The game of life is a cellular automation devised by John Conway. This simulation has only a few rules, but it is Turing complete [0] and incredibly interesting to watch. With recent news about Conway, I thought it’s time to give it a go. In one programming kata, I had encountered this problem, but never went to fully complete this simulation. This time, I’ll use my favorite programming language, Scala, and my current favorite library, ZIO [1]....

May 4, 2020 · 4 min · 641 words · benetis

Backtracking: 8 Queens

Introduction Recently I started reading a book about evolutionary computing. As you can guess - its about problem solving using evolution concepts. One of the first examples in the book is about 8 queens puzzle. Its a puzzle in constraint satisfaction problem space and my guess is that it is solved with evolutionary computing later on. I think it would be interesting to look into more common algorithm for this puzzle before proceeding with the book....

April 5, 2020 · 3 min · 457 words · benetis