6 posts in this collection

Why you should consider Rust for your Lambdas

Rust is such a cool language, even though it might take a bit to get the hang of it. But trust me, the payoff is huge. As someone who’s all into serverless stuff and loves playing around with AWS, I’ve been digging into how to write AWS Lambda functions in Rust and whether it’s worth the sweat. MEGA-Spoiler: Yep, you guessed it from the title - it’s totally worth it. And in this article, you’re gonna find out why, so stick around! Okay, so there’s this pic in the article of Morpheus holding a Lambda in one…

Luciano Mammino's Profile pictureLuciano Mammino#rust, #serverless16 August, 202315 min

Read the post →

Building x86 Rust containers from Mac Silicon

I recently struggled to build an x86_64 container for a web app written in Rust from my Mac Silicon. I eventually figured out a working solution that also heavily reduced the size of the container image. In this article, I will walk you through this solution! This solution involves a bunch of interesting technology, so if nothing else, it’s going to be an opportunity to explore these cool topics: Rust (of course) Docker (of course) Docker multi-stage builds Linux Alpine musl libc QEMU RusTLS Jemalloc The…

How to to_string in Rust

In Rust, there are several ways to turn a value into a string. In this article, we will explore a few different ways and discuss what are the most idiomatic approaches depending on the context you are currently working on. Personally, I have been quite confused for a while on what’s the best way to implement a “to string” functionality for a given Rust struct. The reason why this has been confusing to me is that there are indeed many ways to do that and they all have different purposes. I finally decided to…

Rust shenanigans: return type polymorphism

In this article, I will describe Rust return type polymorphism (a.k.a. generic returns), a feature that I recently discovered and that I have been pretty intrigued about. I am seeing this feature for the first time in a programming language and at first glance, it did seem like some sort of built-in compiler magic, available only in the standard library. In reality, it is a generalised feature that you can use in your own code every day. Keep in mind that I am still quite a beginner with Rust, so my…

Where to go to learn Rust in 2021

In this article, we want to provide a list of some free and paid resources that we loved the most in our journey to learning Rust. Rust is certainly not the easiest of programming languages, especially at first glance, but once you can overcome the initial “wall of fear” and start to grasp some of the key concepts, Rust becomes a language that you are going to love and you will probably be looking for more and more excuses to use it and learn it further. For this reason, we wanted to collect a list of…

Learning Rust through open source and live code reviews

Hello from Luciano and Stefano! 👋 In the last few years we set ourselves onto the Rust learning path. We don’t work with Rust during our daily jobs and we come to be interested in the language for different reasons (more on this later), so we decided to take it easy and invest some of our free time reading books and tutorials, watching videos about Rust and doing occasional coding challenges. Finally after about one year of sporadic studying sessions we felt ready to attempt our first open source Rust…


Copyright © Luciano Mammino 2014-2023.

Built with Gatsby, Coffee and a lot of ❤︎.

Loige logo designed by Andrea Mangano.

Hosted on GitHub, accelerated by Cloudflare.

Theme inspired by React documentation.

Icons by Font Awesome.

BlogSpeakingAboutComment Policy