Leslie PolzerRust Expert

Rust expert for memory safety, performance and unsafe code

Leslie Polzer is a Rust expert and consultant for code where memory safety and speed matter. Typical engagements are reviews and audits of unsafe code before a release, performance analysis of programs that run slower than expected, and binding C and C++ libraries through FFI without losing Rust's guarantees. Leslie Polzer works both remotely and on-site, for companies in Germany, Austria, Switzerland and worldwide, in English or German.

Available from

Request a projectContact form

Portrait of Leslie Polzer

This rests on more than 15 years of software development, including as a Software Development Engineer at Amazon in Vancouver and as CTO of Port Zero in Berlin. The full career history is on lpolzer.com.

When a Rust expert is worth it

Safe Rust rules out whole classes of bugs, as long as every unsafe block upholds its assumptions. That is where the expensive bugs come from: a pointer that outlives its allocation, a wrongly assumed alignment, a Send impl for a type that is not thread-safe. Such bugs often show up only under load or with a new compiler. A review pays off before a release, after a crash nobody can explain, and before a library with an unsafe core becomes a dependency of a safety-critical product.

Performance is similar. Rust produces fast code, but needless copies, allocations in hot loops or an unlucky Arc<Mutex<_>> pattern still cost time. Measuring comes before rewriting.

How an engagement works

It starts with measuring and reading: cargo geiger counts the unsafe blocks including dependencies, Miri runs the tests under an interpreter that reports undefined behaviour such as out-of-bounds accesses or violations of the aliasing rules, and for performance questions perf and flame graphs provide the data. You then get a written report with every finding, its cause and a proposed fix, sorted by risk. On request, Leslie Polzer makes the fixes alone or together with your team, including tests that catch the bug in future.

Terms depend on scope and type of engagement and are settled in the first conversation.

Articles (in German)

Contact

Describe in a few sentences what the project is about, what you want to achieve and what deadlines there are. Write to polzer@fastmail.com or use the contact form (the form is in German; writing in English is fine).

Write an email