About:

Shafik Yaghmour is a Compiler Engineer at Intel, interested in C++, C, and compilers, and enjoys martial arts, reading, and being a dad.

Website:

Specializations:

Interests:

C++ C Undefined Behavior Compilers

Incoming Links:

Subscribe to RSS:
The blog post emphasizes the importance of writing effective summaries for Pull Requests (PRs) in open source projects to minimize the time code reviewers spend on context switching. It outlines a framework for a good summary, whi...
The text discusses the behavior of C++ programs when using optimizations and how to find undefined behavior. It provides a set of approaches to help prove or eliminate the possibility of undefined behaviors being the cause of a pr...
The text discusses the process of triaging clang C++ frontend bugs, including different bug categories, good practices, and tools used. It also covers miscellaneous topics such as reduction, bisecting, formatting code and backtrac...

0Auto Auto Auto

2023-08-29

The text discusses a complicated C++ declaration and breaks it down into smaller pieces to explain the final declaration. It uses the analogy of peeling back the layers of an onion to explain the process.
The author discusses the undefined behavior (UB) in the C++ standard and the work involved in getting the annex into shape and editing it into the standard. The author plans to enumerate the UB in the order they appear in the stan...
The text explores the implementation of enums in C++ and how clang is used to catch undefined behavior. It discusses tracking the range of values of an enum, constant expressions, and patches to diagnose undefined behavior. It als...
The text discusses the different options for enum types in C++. It explores the scope, range of underlying values, and consequences of the choices available. It also delves into the implementation details, undefined behavior, UBSa...
The text discusses the C++ weekly quiz #198 and the code provided. It explains that the code does not compile due to a restriction in the standard. It delves into the reason behind this restriction and the need to disambiguate. Th...
The text discusses the usual arithmetic conversions and integral promotions in C++. It provides examples and explanations for each case, and highlights the unintuitive results that may occur. The rules for the usual arithmetic con...
CppCon 2021 was a hybrid format due to Covid-19. The schedule was shifted earlier to accommodate European participants. The conference had multiple interfaces for remote users, including an online platform, virtual venue, and Disc...

0Down with typename

2021-01-07

The text discusses the use of the typename keyword in C++20 and how it is required in certain contexts. It explains the changes brought by the proposal 'Down with typename!' and provides examples of where typename is needed and wh...
The text explores the concept of zero in C++ and its various super powers, such as being an octal literal, converting to different types, and its special behavior with pointers, arrays, and std::string. It also discusses the use o...