Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
sinisas3198yPointers are the best thing ever invented in the history of programming:)
Just to clarify: are you ranting about your coworkers that have problems with it, or about difficulty to understand how it works? -
rui7257568yDo you guys have other topics which can help me understand more and be more familiar with at least an intermediate level as embedded developer. -
D--M22188yI remember learning pointers..
Didn't get a fucking thing UNTIL one day I was working on an RTS game and thought to myself; "it sure would be nice if i could change what this variable pointed to"
Tldr; one day you will have that moment and you'll think pointers are the greatest thing ever. -
If you learn binary math and the basics of how computers work, these are some of the easiest concepts there are.
-
rui7257568y@sinisas wow I seriously thank you for giving a code that explains the process of pointers :) -
Orionss28728yReally, it's not that difficult, you just have to take the time to understand well what happens when you use them but after, it's like natural -
I remember my first malloc for a 2 dimensional array in C... Took me 2 days to figure out what the fuck was going on in the StackOverflow code snippets I found 😆
-
Mmh...hard if you have no background in computer architecture.
Study the CPU first and how it deals with memory , then come back and tell us if it's difficult anymore. -
rui7257568y@bdhobare I think I know some stuff about computer architecture from logic gates to scheduling algorithm.. but I just dont know how does it relate to embedded dev
@iSwimInTheC I think they have that covered using List or Collections..but to use the memory address as a reference value I dont think that it is possible in other language
@StefanH agreed but yea I also liked to learn how are these relate to embedded dev or game dev.. just picturing the bigger picture would help understand why they exist..

Why is pointers... bit shifting.. malloc.. anything that is regarding embedded development is so hard to grasp...
question