logoalt Hacker News

keyletoday at 12:50 PM5 repliesview on HN

I don't understand this passion for turning C into what it's not...

Just don't use C for sending astronauts in space. Simple.

C wasn't designed to be safe, it was designed so you don't have to write in assembly.

Just a quick look through this and it just shows one thing: someone else's walled garden of hell.


Replies

pkhuongtoday at 12:54 PM

> Just don't use C for sending astronauts in space

But do use C to control nuclear reactors https://list.cea.fr/en/page/frama-c/

It's a lot easier to catch errors of omission in C than it is to catch unintended implicit behavior in C++.

show 1 reply
fransje26today at 1:19 PM

> Just don't use C for sending astronauts in space. Simple.

Last time I checked, even SpaceX uses C to send astronauts to space...

pjmlptoday at 1:09 PM

Some C devs will make all kinds of crazy efforts only not to use C++.

show 1 reply
capitol_today at 2:44 PM

I agree, if people just had refrained from building things in c/c++ that operated on data from across a security boundary we wouldn't be in this mess.

ReptileMantoday at 12:58 PM

Actually C performs quite good in exactly that area.

https://ntrs.nasa.gov/citations/19950022400

show 1 reply