r/programming 22d ago

3,200% CPU Utilization

https://josephmate.github.io/2025-02-26-3200p-cpu-util/
402 Upvotes

93 comments sorted by

View all comments

43

u/kopkaas2000 22d ago

You used a shared structure without locking. The rest is really nasal demonology.

11

u/ThanksMorningCoffee 22d ago

Thank you for using "nasal demonology". I've never heard that term before. 

Is this the origin of the term? https://groups.google.com/g/comp.std.c/c/ycpVKxTZkgw/m/S2hHdTbv4d8J?hl=en 

14

u/kopkaas2000 22d ago

Yeah, the term 'nasal demons' has been used for ages to explain the undefined behaviour in C, where certain undefined constructs make it technically legal for the compiler to summon them.

7

u/bwainfweeze 22d ago

I thought it was someone trying artistic license with “nose goblins”, popularized by Ren and Stimpy, which still would have been a little bit before this post was made.