News for hackers. Stuff that matters.
Re:Hacker-Proof Code Confirmed by acfoltzer on Wednesday September 21, 2016 @08:59PM (#12553535)
Indeed, we're fans of Idris here, and even hosted a series of Idris tech talks: https://galois.com/blog/2015/01/tech-talk-dependently-typed-...

The goals of Idris and similar languages are different from the goals we had with Ivory, though. We sometimes describe Ivory as "medium-assurance" as opposed to the high assurance one can get from a language with a more expressive type system.

It makes sense for some systems or components to be formally verified, for example the seL4 verified microkernel which is also used on our copter. However we simply would not have been able to formally verify (or even get to typecheck with fancier dependent types) something on the scale of an autopilot given the resources we had on the project. Instead we rely on getting quite a bit of bang for the buck with the memory safety features, and then augment with assertions.

We ended up with a working autopilot (and board-support package with drivers) in only ~4 engineer-years, so we think the tradeoff is working well so far :)

Re:Hacker-Proof Code Confirmed by eggy on Monday September 26, 2016 @01:28PM (#12583769)
Sounds great. I'll check out the talks link and Ivory some more. Thanks!