Tuesday, 26 April 2016

Segfaults are our friends and teachers

Segfaults are our friends and teachers: "If you’ve written some C, you’ve almost certainly seen a segmentation fault at some point. I spent a long time thinking of it as a ‘thing that happens when you use pointers wrong in C’. That’s mostly true, but a segmentation fault actually has a very specific meaning. You get one when a process tries to access memory in a way that it’s not allowed to, or accessing invalid memory."



'via Blog this'

No comments:

Post a Comment