Skip to main content

2 docs tagged with "fundamentals-cxx"

View all tags

C and C++: The Bedrock of Embedded Systems

In this section, I’ve compiled a mix of fundamental and advanced C/C++ insights gathered over years of hands-on development. While modern languages like Rust are gaining love in the community, I strongly believe that C and C++ will remain the backbone of the embedded industry for the foreseeable future. Between massive legacy codebases, mature compiler support, and their unparalleled control over hardware, these languages aren't going anywhere. I hope these resources help you master the nuances of memory management, pointer arithmetic, and also modern C++ features in constrained environments.

Styling Guidelines for C/C++ projects

I am a believer of the saying: "The experience talk and we should listen". So I am not going to be the weirdo here. If you arrived to an already started project, you don't have a saying in the style and you should under all circumstances (even your own liking) maintain that style guide. The consistency is the most important aspect while reading code. If for the whole project you are using tabs instead of spaces, go for it. There is nothing more ugly (believe me) that seeing tabs and spaces together in the same file 😖. Imagine the beauty in languages like Python...