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
-
Oh that brings back memories.. what happens when you store a 1 byte, 2 byte or 4 byte variable to the same memory address.
That was when good computer magazines had fucking assembly courses. Of course, spread over several issues so that you'd have to buy them all, but it was worth the money. -
@notarealDev it was the difference between move.b, move.w and move.l in 68k assembly. More like type punning through pointers - but since pointer aliasing is undefined behaviour in C, unions are the next closest thing.
-
stisch48146y@Bitwise I find the more common issue is making the connection. Most newer devs learned about member and bitwise operations in school, but they land their first job with some high level language where they get lost dealing with reference types vs value types, gc allocation, and boxing costs.
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
Overheard guy on the bus: "...but I don't understand where variables go in memory."
It took 100% of my will power to not pop over the seat like some muppet to sing song about stacks and heaps.
rant
not a muppet
wtf
heap songs