CPP must use STL and Boost?

for embedded development, because the programming language is CPP, but if you use C language style code to write code similar to strings and queues, it will inevitably be suspected of building wheels, and the code is not necessarily perfect, there will inevitably be some BUG.
while the CPP standard provides STL and Boost, which implements some commonly used basic code and simplifies some of the above-mentioned implementations, but because of embedded development, I am afraid that the code files compiled using STL or Boost are a bit large.
therefore, in actual development, you should make the relevant wheels manually or use a library such as STL to simplify the work.

CPP c
May.22,2022

embedded development also depends on the hardware resources you have, and CPP costs more.


STL is recommended because stl is already part of the CPP standard, boost is not recommended, there are too many related things, and the compilation time is 10 times longer.

Menu