News for hackers. Stuff that matters.

tboneatx

Re:Kids These Days on Monday August 31, 2026 @02:54PM (#49513470)
How is that a downside?
I agree 100% with Linus, especially the boost comment. It was heavily used in a project I worked on and "boost" soon became a curse word.
Re:The Lost Art of C Structure Packing (2014) on Friday August 05, 2016 @11:49AM (#12233214)
Knowing about struct memory alignment can come in in very handy when reverse-engineering 3rd party binary protocols. Often you come across many "unknown" bytes which turned out they were just padding because of 4 byte struct alignment and could be discarded. Saved a bunch of time not having to try to figure out what they were.
Re:To become a good C programmer (2011) on Monday May 02, 2016 @11:20AM (#11612090)
Definitely C, and you will also need to know a fair bit of assembly. Also familiar yourself with the PE (portable executable) format and learn how to use IDA disassembler and possibly SoftICE (Not sure if it still works, but it was/is a very powerful kernel debugger)
Re:How to C in 2016 on Friday January 08, 2016 @11:36AM (#10866081)
Are not all the local variables allocated on the stack in the function prologue anyway? no matter where in the function they are defined. A typical function starts with subtracting the stackpointer to make space for the local variables if i'm not mistaken.
Re:Should kids learn to code? on Friday December 04, 2015 @12:51PM (#10677814)
That's what I always say too. I built our whole house myself. The same process applies: Split project into parts, find out how to do each part, do them. And once in a while you have a code review (inspector, building code) haha :)
Yeah, I remember that. :)