Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
|
declanhaigh's comments
login
declanhaigh
on Aug 1, 2023
|
parent
|
context
|
next
[–]
| on:
Can you trust a compiler to optimize your code?
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...
mrweasel
on Aug 1, 2023
|
parent
|
next
[–]
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
).
pests
on Aug 2, 2023
|
root
|
parent
|
next
[–]
Half of Linus rants are just about compiler bugs .
declanhaigh
on Sept 15, 2021
|
parent
|
context
|
prev
[–]
| on:
I ruin developers’ lives with my code reviews and ...
What's the issue? I like this article. It's an honest reflection and a clear demonstration of humility. We need more of that in this industry.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...