diff --git a/blog/posts/152-cpp-optimizations-series.cfg b/blog/posts/152-cpp-optimizations-series.cfg new file mode 100644 index 0000000..a56088c --- /dev/null +++ b/blog/posts/152-cpp-optimizations-series.cfg @@ -0,0 +1,5 @@ +filename = 2022-05-27-cpp-optimizations-series.html +title = C++ Optimizations Series +description = A brief introduction to a video series I'm doing on my Odysee channel on C++ code optimizations. +created = 2022-05-27 +updated = 2022-05-27 diff --git a/blog/posts/152-cpp-optimizations-series.html b/blog/posts/152-cpp-optimizations-series.html new file mode 100644 index 0000000..205a44b --- /dev/null +++ b/blog/posts/152-cpp-optimizations-series.html @@ -0,0 +1,29 @@ +

I've recently started working on a new series on my Odysee channel which aims +to explain some very basic C/C++ code optimizations at an assembly +level.[1] I explore different keywords and good +programming habits in C++ and explain why they can lead to more optimized code +using the resulting assembly code. Basically, I compile the C++ code and then I +disassemble it using a tool like objdump.

+ +

My main reason for making this series is that I find that many programmers +don't actually know what they're doing when they program. They write code simply +trying to get it done, but they're never disciplined in good programming habits +in their language. This is a shame considering that many of these simple habits +can greatly improve the efficiency of the output.

+ +

As for why I'm using the dreaded video format instead of text the reason is +quite simple: I'm lazy. Writing all that up takes a lot of time and effort, and +this isn't exactly a programming tutorial, but rather an explanation/exposition. +So I don't mind the format all that much.

+ +

I hope this is useful.

+ +

References

+ +
    +
  1. + + "C++ Optimizations Series" on Odysee + +
  2. +