EWD637: Three Golden Rules for Successful Scientific Research

Here is something I read in graduate school and still thinks about from time to time: Edsger W. Dijkstra’s Three Golden Rules for Successful Scientific Research: Raise your quality standards as high as you can live with, avoid wasting your time on routine problems, and always works as closely as possible at the boundary of your…

0

Optimization Note (C++) 1: push, pop, call _chkstk

I was looking at assembly code trying to improve an important performance scenario when I found a strange call to _chkstk 011E100E push 10h 011E1010 pop eax 011E1011 call _chkstk (011E1810h) 011E1016 mov ecx,esp My understanding is that _chkstk call is generatesd by C++ compiler when there are more than 4kb local variable allocation. But…

0