Skip to content
Rust Search
← Browse conferences

How Powerful is Const?

Rust Programming Language
RustConf 22:58 21814 views

Rust's focus on performance has led to the creation of various zero-runtime-cost abstractions. As a result, Rust has adopted compile-time metaprogramming features around its `const` keyword. While many Rustaceans are familiar with techniques such as computing numbers or iterating over data, that only scratches the surface of what `const` is capable of. This talk will teach you how `const` can be used to reduce the cost of FFI, define types in unique ways, and perform logic over trait implementat

Player unavailable or embedding blocked? Use the YouTube link above.

Other talks by Nikolai Vazquez

Small Data Optimization

RustLab Conference
RustLab 45:34 915 views

Strings and vectors are so common in Rust code that they can hurt performance in various ways. This talk will cover strategies to improve performance when data is small enough to store on the stack or deduplicate.

Proving Performance

FOSDEM

Software engineers choose Rust for its safety and performance baseline. Wizards use Rust's dark arts to improve performance by chanting cursed unsafe-yet-sound expressions. Whether you’re an engineer or a wizard, this talk will give you the tools and best practices to correctly measure and explore Rust’s performance claims against your projects. And wizards will learn when the performance benefits are worth risking nasal demons with unsafe code.

Publishing High-Quality Crates

EuroRust
28:40 1072 views

Cargo makes it easy to publish a crate, but there’s a lot of work to be done between cargo new and cargo publish. This talk will cover the many ways to take a crate from good to great. 🦀 *About Nikolai Vazquez* 🦀 Nikolai Vazquez (https://twitter.com/NikolaiVazquez) began poking at the edges of Rust in 2017 and has since then developed a variety of cursed ways to use it, such as his Static Assertions crate. Nikolai’s career has spanned the entire stack, from web/mobile UIs to databases to reverse engineering assembly. When he’s abstaining from software, you can find Nikolai designing graphics, playing jazz piano, dancing lindy hop, or practicing Español and Deutsch.