Hacker News new | ask | show | jobs
by landave 3073 days ago
I assume you mean a performance comparison? The runtime performance cost of ASLR on Windows is zero once a binary has been loaded, since the code is relocated at load time.

Stack canaries might cause a slight performance hit, but it is usually below one percent, since it creates only a small cost per function call for a fraction of all functions.

2 comments

People not caring about load time costs are probably one of the reasons the guy still uses VC6, which starts up practically instantly.
It isn't even per function call in all implementations.