Y
Hacker News
new
|
ask
|
show
|
jobs
by
saagarjha
2297 days ago
How much C have you written, and how much has gone through a high-performance optimizing compiler?
1 comments
jstimpfle
2297 days ago
I don't know. Quite a bit - maybe written 300K lines and deleted > 200K lines. Most of it was compiled by gcc -O2 and/or MSVC. I've never relied on vectorization or used a lot of intrinsics, though.
link
saagarjha
2297 days ago
I'm honestly quite surprised you've
never
run into surprising behavior caused by the optimizer handling undefined behavior…
link
jstimpfle
2297 days ago
Not that I'm aware of it.
link