Shafik Yaghmour
shafik.bsky.social
Shafik Yaghmour
@shafik.bsky.social
Compiler Engineer clang front end. Interests: C++, C, and undefined behavior. Martial Artist, Book Worm and Dad. he/him


Mastodon: https://hachyderm.io/@shafik
Blog: https://shafik.github.io/


#cplusplus #compilers
Pinned
I meet a microbiologist today

They were way BIGGER than I expected 🥁
January 28, 2026 at 8:56 PM
New curded phrase just dropped

"Aura attaches to a unique ontic causal chain"

ref: philosophy.stackexchange.com/a/135405
Is a screenshot of a picture the same picture?
Suppose one takes a screenshot of a digital picture (for example, an image displayed on a screen). Is the screenshot the same picture as the original, or is it a distinct picture that merely repres...
philosophy.stackexchange.com
January 28, 2026 at 8:43 PM
C++ quiz #310 const anonymous bit-fields, what say you?

Answer here: hachyderm.io/@shafik/1159...

#Cplusplus
#Cpppolls
January 27, 2026 at 10:01 PM
"CEOs Say AI Is Making Work More Efficient. Employees Tell a Different Story": www.wsj.com/lifestyle/wo...

We know that workers actually tend to overestimate productivity savings so I would take this as an overestimate and assume reality is actually even worse.

These are really bad numbers.

#ai
January 25, 2026 at 6:44 AM
Curl project brings out the receipts on the AI slop submissions they are getting:

gist.github.com/bagder/07f75...

#ai
AI slop security reports submitted to curl
AI slop security reports submitted to curl. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
January 25, 2026 at 6:34 AM
Why did the amoeba fail the math test?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Because it multiplied by dividing 🥁
January 23, 2026 at 4:30 AM
"Deep C (and C++)" is a classic but still very relevant presentation about what it means to know C and C++ and what the right mindset should be about learning: slideshare.net/olvemaudal/d...

I still enjoy reading every once and awhile.

#cplusplus
#programming
January 22, 2026 at 6:11 PM
Retro C++ quiz #53 The Final frontier

Answer here: hachyderm.io/@shafik/1159...

#Cplusplus
#Cpppolls
January 22, 2026 at 5:30 PM
"'Everybody Loses' chronicles the rise of America's sports betting boom": www.npr.org/2026/01/19/n...

This is such a corrupt industry.
'Everybody Loses' chronicles the rise of America's sports betting boom
NPR's A Martinez speaks with journalist and author Danny Funt about his new book, "Everybody Loses: The Tumultuous Rise of American Sports Gambling."
www.npr.org
January 19, 2026 at 4:29 PM
"Extracting books from production language models": arxiv.org/abs/2601.02671

#ai
January 17, 2026 at 3:58 AM
"C Is Not a Low-level Language
Your computer is not a fast PDP-11.": queue.acm.org/detail.cfm?i...

Not new but always worth a read.

#programming
January 14, 2026 at 9:53 PM
C++ Retro quiz #52 No one expected that code

Answer here: hachyderm.io/@shafik/1158...

#CPolls
#cpppolls
#Programming
January 14, 2026 at 4:09 PM
Two muffins where in an oven

One muffin says to other "I am getting baked in here!"

The second muffin goes "WOAH!!! a talking muffin!!!!"

🥁
January 14, 2026 at 4:07 PM
A magician said he would disappear on the count of three.

He wrapped himself in his cloak and counted, Uno, Dos

and then disappeared w/o a Tres

🥁
January 10, 2026 at 7:00 PM
C++ the language in which the edge cases have edge cases 🧐

#cplusplus
January 10, 2026 at 3:59 AM
Reposted by Shafik Yaghmour
Cursed Code of the day

Cursed Hello World in C: gcc.godbolt.org/z/GEsEGh34T

How many tools did it take to write this 🤔

#programming
January 8, 2026 at 6:47 PM
If C++ were an Orchestra, what would be the loudest instrument?

Surely the unresolved external cymbols 🥁

#cplusplus
January 8, 2026 at 6:53 PM
Cursed Code of the day

Cursed Hello World in C: gcc.godbolt.org/z/GEsEGh34T

How many tools did it take to write this 🤔

#programming
January 8, 2026 at 6:47 PM
Why should version numbers always be palindromes?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
B/c then they will always be backward compatible 🥁

#programming
January 8, 2026 at 7:22 AM
Retro C++ quiz #51 Extra virtual?

Answer here: hachyderm.io/@shafik/1158...

#Cplusplus
#Cpppolls
January 7, 2026 at 4:54 PM
"On the Calculation of Volume" (which is not about math, at least not directly)

Was a book I was interested in and turned out to be really excellent. It kind of has to set in but it is really a fascinating read.

#books
January 5, 2026 at 5:10 PM
Multi-Dimensional Analog Literals is my “favorite” abuse of C++ operator overloading

eelis.net/C++/analogli...

🤯🧐

*Chef kiss*

#Cplusplus #Programming
January 4, 2026 at 7:50 PM
Reposted by Shafik Yaghmour
Cursed code of the day

godbolt.org/z/1z87qaW9r

I am very sorry 🧐

#programming
January 3, 2026 at 11:29 PM
Cursed code of the day

godbolt.org/z/1z87qaW9r

I am very sorry 🧐

#programming
January 3, 2026 at 11:29 PM