News for hackers. Stuff that matters.
Re:Software Engineering Within SpaceX by ColanR on Wednesday June 03, 2020 @12:42PM (#23405467)
If we're going to use SpaceX to validate our language choices, then we should be moving back to C for the "mission critical" code.

> The certification and correctness part is made easier by using software verification tools. One such tool is Astrée. It is a static code analyzer that checks for runtime errors and concurrency related bugs in C projects. This also leads us to the answer for why a lot of mission-critical code is written in C. Its because there are a lot of static analyzers and software verification tools for C.

Re:Software Engineering Within SpaceX by nickff on Wednesday June 03, 2020 @01:54PM (#23406451)
The Kernels for all major operating systems are written in C; C is also used for the majority of embedded devices which perform the small miracles around you. C is everywhere.
Re:Software Engineering Within SpaceX by blub on Thursday June 04, 2020 @02:50AM (#23413409)
Yes, but those kernels aren't developed according to any functional safety standards, so they're the typical jumble of vulnerabilities.

It depends if that's the case for the embedded devices.

Re:Software Engineering Within SpaceX by trasz on Wednesday June 03, 2020 @04:22PM (#23408168)
There are also software verification tools that use binaries instead. That's how seL4 gets verified. This way you're safe from compiler bugs.
Re:Software Engineering Within SpaceX by blub on Thursday June 04, 2020 @02:40AM (#23413330)
Well, C actually does have very good verification tools, so if they are used it could be a reasonable choice.

The problem is that commercial SW development is incompatible with the use of such tools or the associated safety-critical processes. The extra time, process, competences would make a company much slower than the typical bullshit move fast and break things start-up.

Re:Software Engineering Within SpaceX by 59nadir on Wednesday June 03, 2020 @04:45PM (#23408483)
C is already the undisputed king of running everything and on everything, no one who writes C needs to seek validation like this.
Re:Software Engineering Within SpaceX by mbrock on Wednesday June 03, 2020 @02:31PM (#23406952)
Are they wrong?