Low Latency Trading Insights

Low Latency Trading Insights

Share this post

Low Latency Trading Insights
Low Latency Trading Insights
Armed and dangerous: std::shared_ptr<T> considered harmful

Armed and dangerous: std::shared_ptr<T> considered harmful

STL shared pointers should not be used in low latency code

Henrique Bucher's avatar
Henrique Bucher
Aug 14, 2023
∙ Paid
2
1
Share

Introduction

I am a heavy user of intrinsic pointers, which never made to the STL for some weird reason although it’s the most useful piece of data mechanism ever in HFT.

But once in a while for code …

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2025 Henrique Bucher
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share