Speaking in ‘public’…

I’ll be hanging out with the cool kids at the Northwest C++ Users Group tomorrow night.  If you’re in the area, and want to heckle me, swing by.  We’ll be in building 40 at 6:30 PM.  My talk starts at 7:00 PM.  I’m talking about the actual runtime cost of exception handling for x64 and x86…

4

Bug in x86 inline assembly to watch out for

Imagine this very lame code:int main() {} void BugAsm() { __asm { MOV [ESP+12],OFFSET main } } void(*BugAsmPt)()=&BugAsm; // this is just to make sure the function is not removed by /OPT:REF Now imagine your significantly less lame code doing something similar.Now imagine that the compiler crashes with a bizzare message about “x86\code.c” something or…

2