News for hackers. Stuff that matters.
Re:Ask HN: Languages for safety-critical embedded work? by viraptor on Sunday May 15, 2016 @08:31PM (#11703492)
Ada is known for those kind of applications. Very restrictive types / contracts make it a good choice.

Of course a lot of safety critical stuff is still written in C or C++. They may not be perfect, but they're not terrible choices.

Re:Ask HN: Languages for safety-critical embedded work? by inetsee on Sunday May 15, 2016 @08:46PM (#11703550)
Ada has been used a great deal in the past for military applications, including flight control software for military planes. One of the real advantages of Ada is that there are a number of tools designed to make sure that Ada programs are about as safe as it is possible to make software.

I can't help wondering if some of the problems the F-35 is having is because its software development is being done mostly in C++ and C.

Unfortunately, I would be really surprised if there is an Ada toolchain that can produce code for a microcontroller like the ESP8266.

Re:Ask HN: Languages for safety-critical embedded work? by viraptor on Sunday May 15, 2016 @09:36PM (#11703710)