r/cprogramming • u/Nathrienne-J-Claw • Sep 11 '26
I just understood pointers on a deep level and it feels like an orgasm
I fucking love C and assembly
88
Upvotes
r/cprogramming • u/Nathrienne-J-Claw • Sep 11 '26
I fucking love C and assembly
54
u/logic_circuit Sep 11 '26
Wait for double pointers; it will be long lasting
38
u/blueworldOoO Sep 11 '26
It's just to point the adress of a variable that's it
6
u/C_Sorcerer Sep 11 '26
Just wait till you start using volatile
1
u/Mindless-Doubt6113 Sep 14 '26
this is just nasty and I don't think there's a good reason to post something like this
3
u/The_Northern_Light Sep 12 '26
Don’t be shocked if this shows up on r/programmingcirclejerk but for real, I fondly remember how cool it felt to learn this stuff
3
u/karasawa_jp Sep 12 '26
Dynamic languages are for the people who don't understand pointers.
5
u/FACastello Sep 11 '26
What's so deep about a pointer?
2
u/StickyMcFingers Sep 14 '26
For people with a good deal of proficiency in C im sure it's not a big deal, but if C is the lowest level language you've learnt, when pointers click, it is truly great. Well done OP!
1
u/Traveling-Techie Sep 11 '26
See also: Alice and the White Knight’s song
1
u/YT-3000f Sep 12 '26
Next stop: instance thunks!
1
u/olig1905 Sep 12 '26
Fo get pointer, next step learn about capabilities. E.g CHERI
1
u/kishaloy Sep 12 '26
Ah the glorious feel of Mount Stupid before the Valley of Despair.
Well slog on Paduan with enough blood and sweat you may yet reach the Slope of Enlightenment at the end of which resides Master Oogway, the Crab.
11
u/SmokeMuch7356 Sep 11 '26
If understanding pointers feels like an orgasm, I weep for your sex life.
How deep are we talking? Multiple indirection? Pointers to arrays? Pointers to functions? Pointers to arrays of pointers to functions returning pointers?
signal?