Rust Meetup Linz - 28th Edition


Details
Rust Meetup Linz, No. 28!
Hello dear Rustaceans! One late night meetup to end the Rust Linz year!
📅 Schedule
📣 Welcome and Introduction
Rust Linz Organizers
10:00 pm CET
We will start the night with the usual welcome round and some community news.
***
📣 Nine Rules for Creating Procedural Macros in Rust by Carl Kadie
10:10 pm CET
Practical lessons from anyinput, a new macro for easily accepting string/path/iterator/array-Like inputs (Based on my recently published free article in Towards Data Science)
ℹ️ About Carl
Ph.D. in CS and Machine Learning. Retired Microsoft & Microsoft Research. Volunteer, open-source projects related to ML, Genomics, Rust, and Python
***
📣 Profiling code in Rust by Vitaly Bragilevsky
Profiling is a way to understand program behavior in terms of time and memory usage at runtime. Profiling is generally considered an advanced topic, but it doesn't have to be hard at all!
In this talk, I want to present and discuss various approaches, tools, and crates that help us to explore time and memory usage of our programs. We’ll explore a simple project, discover its characteristics and see what can be done to optimize them. We’ll see how to measure the timings of code fragments and functions reliably. We'll look at flame graphs and learn how to understand them. We’ll talk about such techniques as reserving memory in advance, avoiding creating auxiliary data structures, and removing unnecessary memory operations. We’ll also see that extensive correctness testing is a must-do when optimizing code because making programs faster and more memory-efficient should not lead to making them incorrect.
It's okay to profile our code along with writing it. It's not about unneeded premature optimization, it's about doing it right at the first run!
ℹ️ About Vitaly
Vitaly is a developer advocate at JetBrains who taught more than a dozen programming languages and other Computer Science topics at universities for more than 20 years. He authored "Haskell in Depth", published by Manning Publications in 2021.
***
Do you want to deliver a talk at the Rust meetup Linz? Great! Please enter your suggested topic in Sessionize at https://sessionize.com/rust-linz/.

Rust Meetup Linz - 28th Edition