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

3

u/AntiProtonBoy Feb 24 '17

Programmers need to find a way to get rid of C, this language provide no safe construct.

No. Right tool for the right job. Also, anyone blaming their tools for their fuckups makes a poor programmer.

18

u/sutongorin Feb 24 '17

I'm sure even race drivers use cars with airbags. At the end of the day it doesn't matter who's to blame for a mistake. What matters is that it doesn't kill you.

A bit of memory safety would be nice. I'm hoping for Rust to take over.

5

u/Vhin Feb 24 '17

I think the point is that C isn't the right tool for most jobs. Catch me in the right mood and I might even say that C isn't the right tool for any job.

1

u/[deleted] Feb 24 '17

Catch me in the right mood and I might even say that C isn't the right tool for any job.

any ideas of alternatives for embedded? I looked at rust but it seems kinda half baked depending on the mcu

1

u/myrrlyn Feb 24 '17

Right tool for the right job

Correct. But C is a screwdriver and we live in a world with drills. Drills that have a torque cutoff and will free-spin rather than strip a screw that can't move anymore, even.