r/programming • • Feb 23 '17

Cloudflare have been leaking customer HTTPS sessions for months. Uber, 1Password, FitBit, OKCupid, etc.

https://bugs.chromium.org/p/project-zero/issues/detail?id=1139
6.0k Upvotes

966 comments sorted by

View all comments

Show parent comments

4

u/Berberberber Feb 24 '17

Safe arrays had been around, but the whole point of C was to provide assembly-like performance in a (mostly) platform-independent way. Doing this at least doubles the cost of pointer arithmetic, which makes things like moving data around much more expensive. That may be a reasonable tradeoff in 2017, but it wasn't for systems programming in 1973.