17
moski
7y

So i was working on ruby gem that wraps the libarchive C library which can be used to read and write archives of many different formats.

I was stuck for few days with a segfault and for the life of me, i couldn't find the problem.

So, i took a break and went to visit my grandparent, grandpa saw me so zoned out. So he was like, whats happening? I was like, "Frakinn program, keeps crashing".

He looked at me and said, "Garbage in Garbage out, Computers don't make mistakes" and went back to finish his game.

Then it him me the FRAKINN Ruby Garbage collector is freeing in-use objects and suddenly everything make sense.

Thank you grandpa :D

Comments
Add Comment