Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
saagarjha
6y ago
0 comments
Save
Share
How much C have you written, and how much has gone through a high-performance optimizing compiler?
0 comments
3 comments · 1 top-level
top
newest
oldest
jstimpfle
6y ago
· 2 in thread
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.
saagarjha
OP
6y ago
I'm honestly quite surprised you've
never
run into surprising behavior caused by the optimizer handling undefined behavior…
jstimpfle
6y ago
Not that I'm aware of it.
j
/
k
navigate · click thread line to collapse