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

//go:embed unleashed

Originally published on Medium: https://dariodip.medium.com/go-embed-unleashed-1eab8b4b1ba6 One of the reasons why I love Go is that Go compiler creates static binaries by default unless you use cgo to call C code, in which case it will create a dynamically linked library. It makes it easy to ship Go programs, create very lightweight Docker images and exploit cross-compiling and plugins. Starting from Go 1.16, it also gives you the opportunity to ship your own “batteries” using the package embed. ...

April 3, 2021 · 5 min · Dario Di Pasquale