News for hackers. Stuff that matters.

nalrqa

Re:Own Constant Folder in C/C++ on Saturday June 22, 2024 @08:55AM (#40758803)
> How is a non-expert in the language supposed to learn tricks/... things like this?

By learning C and inline asm. For a C developer, this is nothing out of the ordinary. C++ focuses too much on new abstractions and hiding everything in the stdlib++, where the actual implementations of course use all of this and look more like C, which includes using (OMG!) raw pointers.