Databento chose C++ over Rust for rewriting their market data feed handler despite using Rust successfully elsewhere. The decision centered on three key friction points with Rust's ownership model: buffer reuse patterns conflicting with lifetime tracking, self-referential structs requiring workarounds, and less mature

9m read timeFrom databento.com
Post cover image
Table of contents
The contextGoals for the rewriteWhy Rust seemed compellingWhere we fought the Rust compilerThe decisionWhere C++ still shinesLooking forwardThe bottom line

Sort: