High performance code and the cost of safe code

High performance code and the cost of safe code

Speaker: Luca Versari

Description

It is generally accepted that the increase in safety of Rust’s safe code is worth the minimal performance hit that it incurs.

This talk explores the specific case of very high performance code, and specifically a high-performance Brotli encoder, where safe code can be up 20-30% slower than unsafe code - even when using std::simd (and more if not), and discusses possible ways to bridge this gap.

Track

Technology & Community

Level

Expert