youtube image
From YouTube: Rusty Days 2020 - Michalina Kotwica: Low-level optimization of algebraic and similar structures

Description

Agenda ► https://rusty-days.org/agenda
Slides ►https://rusty-days.org/assets/slides/02-low-level-optimization-of-algebraic-and-similar-structures.pdf
Playlist with all talks ► https://www.youtube.com/playlist?list=PLf3u8NhoEikhTC5radGrmmqdkOK-xMDoZ

Follow ►
Facebook: https://rusty-days.org/facebook
Twitch: https://rusty-days.org/twitch
Twitter: https://rusty-days.org/twitter

This video ►
While high-level advantages of functional programming and algebraic data structures in comparison to object-oriented programming are quite well known in the Rust community, numerous low-level advantages are not as commonly mentioned. While some programming languages use the functional approach as a means of optimization, Rust optimizes the very tools the functional paradigm is built upon.

In this talk, I want to present how Rust's approach to basic data structures (products/structs and coproducts/enums) is different from that of most functional programming languages. Further, I want to illustrate how low-level optimization is performed, which makes it possible, and what can be improved even further depending on how the language evolves.