Published: October 11, 2025
45
32
997

C++ features I used at my Bloomberg job in the last 3 months: Lambdas HOFs std::variant std::visit std::optional std::string_view std::ranges std::shared_ptr std::unique_ptr constexpr constinit consteval auto decltype decltype(auto) Template Metaprogramming Concepts Forwarding

Image in tweet by Dmitrii Kovanikov

@ChShersh Any concurrency, futures/promises?

@tripvvire I looked at some futures. The future is not bright. I can't make any promises. Let me co_return to you.

@ChShersh No std::span? I have been using custom spans/slices for over 10 years already. I thought it was one of the best additions to the standard library. The standard version doesn't support initializer_list, which is a shame of course.

@SebAaltonen I like std::span but the nature of my work is mostly processing individual items, so not many use cases for processing subsequences. I always keep it in mind tho.

@ChShersh One has to remember that it comes from a guy, who wrote microservices in Haskell not so long ago.

@elephantum So it must be credible

@ChShersh no std::move?

@mlaurencechen It was used as well. I guess I could've mentioned the entire move semantics

@ChShersh definitely used SFINAE inadvertently. Did you see any quirks of ADL yet?

@ichebykin Haven't actually used ADL that much

@ChShersh Are those monads? 👀

@StanleyMasinde_ Some of them are

@ChShersh Its surprising that I know and use some of these in my work everyday knowing I didnt know anything other than basic c++ 2 months back

@KathirvelS23 Some of them are just good quality-of-life improvements. Others are just required in Modern C++

@ChShersh Unrelated please but i wanted to know if Quant devs coding in C++ are meant to learn C++ the general way or just finance related syntax even if it might contains some general concept

@Complex_Ay There's no such thing as finance-related syntax C++ is C++

@ChShersh Do people really use the C++ template?

@cintailain_ Yes Why wouldn't you

@ChShersh Okay but like, after you’ve learned the basics of classic C++ you really have very limited reasons not to enjoy auto and smart pointers. Even optional and variant are low mental overhead additions that should always be there if you need them.

@ChShersh A frustrating thing about being in tech is that even if you put in the work to learn some tech 100%, it will be a few months before some new comes along and you don't know it 100% anymore

@BoganBits It's not frustrating if you have a growth mindset. I enjoy learning new things and constantly finding better ways to do my job.

@ChShersh did you read a book?

@ChShersh How do I get my first C++ job, as a Java developer ?

@ahshsbsjd You apply to a C++ job and you pass the interview

@ChShersh I’ve used a lot of std::visit and std::variant in finite state machines. Very good looking code

@mseg82 State-machine programming is the best

Share this thread

Read on Twitter

View original thread

Navigate thread

1/29