2 ms·
Since most people don't write assembly code anymore, it usually makes sense for the hardware to be simple and fast. That means the compiler is a little more dif
by TillE 11y ago
Since most people don't write assembly code anymore, it usually makes sense for the hardware to be simple and fast. That means the compiler is a little more difficult to write, but code in C should be unaffected.
- 0x0 11y agoThere's lots of ways to hit aligment problems in C, at least if you do a little typecasting here and there. Coincidentally, alignment issues was the topic of yesterday's Old New Thing blog post: http://blogs.msdn.com/b/oldnewthing/archive/2015/08/20/10636350.aspx http://blogs.msdn.com/b/oldnewthing/archive/2015/08/20/10636... (and references an example of bad C code alignment in http://blogs.msdn.com/b/oldnewthing/archive/2004/08/25/220195.aspx http://blogs.msdn.com/b/oldnewthing/archive/2004/08/25/22019... )