r/cpp • u/nimmy12909 • Nov 30 '22
Template, Concurrency, Assembly
We all know to be qualifying as a low latency c++ SWE we need to be good at template and concurrency, as well as understanding the STL well, mostly by reading assembly to know what is happening in stack and heap.
But how can I improve my skills in these aspect besides reading books.
I did got some simple project like build a vector with template. But I have no idea how to make some more impressive project about using template to showcase myself on CV.
In terms of concurrency, there is a famous book called concurrency in action. It got exercise to help me understand the c++ concurrency, but same as above, I don’t know what project to build to show that I understand concurrency on my cv.
And for understanding the STL, is there a list or order that I could explore one by one for understand the STL?
Besides issue related to CV , I also think that without building a project , I don’t really know how much I understand on these topic.
I wonder how you all learnt template and concurrency, any course, project, forum that could recommend to me.
Thanks a lot .
6
u/br_aquino Dec 01 '22
Stop reading books for a while and just code something, you will realize that things much simpler than concurrency and assembly will give you a lot of trouble.
3
u/Willinton06 Dec 01 '22
I’m a low latency dev you ask me to do something and I say no in less than 8 ms
1
2
u/KingAggressive1498 Dec 01 '22 edited Dec 01 '22
Just keep writing, testing, and profiling code. I wouldn't even worry about concurrency and low latency until you have a thorough grasp on more general programming and optimizing techniques, and you also definitely don't need to look at assembler output to reason about heap and stack usage (about the only surprises there would be from copy ellision, for which there are fairly predictable rules, and local variables being kept in registers) although understanding code translations optimizing compilers make can be useful in forming assumptions for optimization.
1
u/realbrokenlantern Nov 30 '22
I'm curious about what makes a competent cpp engineer in the low latency space
8
u/hmoein Nov 30 '22
I think you are putting the horse before the card. You have a bunch of solutions looking for problems
You should start studying computer science and software engineering in particular. Then when real-life problems come up, you can reach into your toolbox and solve them.