Introduction to Domain-Driven Design (DDD)

Originally published on Medium: https://dariodip.medium.com/introduction-to-domain-driven-design-ddd-24a62cb6472d Designing software nowadays can be such a tough job, we know. Software complexity has raised and it is still raising reaching summits above the havoc. All this wave of fear and destruction and fire and chaos can be stopped with a proper software design strategy. Designing and developing software is something that must have to do with solving problems that customers have. However, sometimes the domain of the problem we are trying to solve is very complex and this can lead to difficulty in communication between developers and stakeholders. ...

January 19, 2023 · 4 min · Dario Di Pasquale

Rust: fear => love => hate => love => disillusion

Originally published on Medium: https://dariodip.medium.com/rust-fear-love-hate-love-disillusion-fa9f6f05b54e My journey through Rust was very tortuous and tormented. During this article, I want to retrace my steps towards the discovery of that amazing programming language. First encounter: fear When I was at the university, a colleague of mine and I have been started working on a project for the course of Data Compression. That was something very low-level and bitwise. We already knew a bit of C, Java, Python, and JavaScript. Every of those, except C, were not suitable at all to work with bits, and since we don’t want to work with C anymore, we decided to pick a brand new programming language (the worst idea ever when you have to finish your project as soon as possible). ...

January 31, 2022 · 6 min · Dario Di Pasquale

Find duplicates using Python

Originally published on Medium: https://dariodip.medium.com/find-duplicates-like-a-boss-f46422f54dd1 The exercise of finding duplicates in a list is a classical example of a didactic problem that you may find during your journey through learning algorithms. During this post, we will try solving this problem using different algorithms, showing the differences between each one. This article has been mainly written for fun and as a writing exercise. Its main purpose is to show different solutions to a single problem, explaining the reasoning behind certain decisions. ...

January 19, 2022 · 6 min · Dario Di Pasquale

False Sharing — An example with Go

Originally published on Medium: https://dariodip.medium.com/false-sharing-an-example-with-go-bc7e90594f3f False Sharing — An example with Go Diving in multiprocessor programming is never easy, I know. Unfortunately for you, you should understand much about computer architecture to do it effectively. This post will go deep into computer architecture, trying to explain one of the most insidious problems that we may encounter when we do multiprocessor programming: false sharing. False Sharing: an example in Go Let’s implement a simple counter interface. ...

March 27, 2021 · 6 min · Dario Di Pasquale