Hacker News new | ask | show | jobs
by declanhaigh 1056 days ago
Ken Thompson once made a similar point about compilers and trust but in terms of security:

https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...

1 comments

Adding to the security part, there are also situations where compilers will optimize something, only to introduce security issues, hence the need to functions such as explicit_bzero (https://man.openbsd.org/explicit_bzero).
Half of Linus rants are just about compiler bugs .