Who
Aaron Ballman is a Principal Compiler Engineer for Intel and is the lead maintainer of the Clang open source compiler. He has two decades of experience writing cross-platform frameworks in C/C++, compiler & language design, and software engineering best practices and is currently a voting member of the C (WG14) and C++ (WG21) standards committees.
In case you can't figure it out easily enough, the views expressed here are my personal views and not the views of my employer, my past employers, my future employers, or some random person on the street. Please yell only at me if you disagree with what you read.
Search
Search Results for: list
How Variable Argument Lists Work in C
Variable argument lists are very arcane in the world of C. You’ll see them expressed in function signatures as … at the end of the parameter list, but you may not understand how they work or what they do.
List Initialization
One of the new features in C++0x has been to make a consistent mechanism for initialization via a list. In previous versions of C++, it was inconsistent how you would initialize lists which would lead to a small amount of … Continue reading
What’s New in C in 2023?
The year is 2023 and you’re asking “What’s new in C?” Surely the answer is “absolutely nothing”, right? Wrong! C23 will be released in the coming months (likely in early 2024), and this is a whirlwind tour of what changes … Continue reading
Source Indexing SVN Repositories is Broken
Some of us spend a fair amount of time pouring through crash dumps generated on Windows. For us, the symbol server support provided by Microsoft’s debugging engines is a godsend. However, source indexing is an even bigger boon because it … Continue reading
Tidbits
As part of my day job, I have a weekly email discussion with other engineers about a random, small topic in C or C++. These discussions are usually not large enough to warrant a full blog post, but can be … Continue reading
Describing the MSVC ABI for Structure Return Types
An ABI is an “application binary interface”, which is basically a contract between pieces of executable code on how to behave. The ABI dictates things like how parameters are passed, where return values go, how to create and destroy stack … Continue reading
The Anatomy of a Code Review
Programmers have many tools available to them for improving the quality of their code. One of my personal favorites is the code review — getting another set of eyes on my source code always challenges my assumptions, and invariably flushes … Continue reading
Varargs? More like Arghargs!
This was a silly mistake on my part, but one which took me several hours to track down. In retrospect, I had everything at my disposal to tell me exactly what the problem was, I just didn’t notice it. It … Continue reading
Posted in C/C++
Comments Off on Varargs? More like Arghargs!
Lovely Holiday
I had a very nice holiday season this year, and I hope you did as well. My wife and I went down to TX to visit her family, and spend time lounging in a beach house. I didn’t write any … Continue reading
Posted in Uncategorized
2 Comments
Whining about iterators
In the STL, there are multiple classes of iterators: random access, bidirectional, forward, input, and output. I’d like to discuss the different types of iterators in a bit more detail, so that I can whine about “missing” functionality.
