oldiob | 5 years ago | on: I looked at all the ways Microsoft Teams tracks users
oldiob's comments
oldiob | 5 years ago | on: The Birth of Unix with Brian Kernighan
oldiob | 6 years ago | on: A fight against Amazon becomes a state matter in Quebec
oldiob | 6 years ago | on: Tell HN: C Experts Panel – Ask us anything about C
The former is compiler dependent and you cannot know how it's implemented. The former is simple text substitution and you're the one implementing it. I often find myself creating small embedded languages in CPP for making abstraction, and I know exactly what C code it's going to generate and thus the penalty if there's any.
People that are afraid of the preprocessor simply don't understand how powerful it's in good hands.
oldiob | 6 years ago | on: Tell HN: C Experts Panel – Ask us anything about C
On another note:
- Official support for __attribute__
- void pointers should offset the same size as char pointers.
- typeof (can't stress this one enough)
- __VA_OPT__
- inline assembly
- range designated initializer for arrays
- some GCC/Clang builtins
- for-loop once (Same as for loop, but doesn't loop)
Finally, stop putting C++ craps into C.