3 ms·
I was a bit surprised by the idea of the FAA using Julia for an "Aircraft Collision Avoidance System", since it apparently doesn't have static type checking and
by skybrian 9y ago
I was a bit surprised by the idea of the FAA using Julia for an "Aircraft Collision Avoidance System", since it apparently doesn't have static type checking and deployment seems like a weak spot.
Digging a bit deeper, it appears they use it to deliver specifications and example code to vendors?
"[T]ransferring the specifications to industry using this legacy system required three different types of documentation: first, the specifications were written both in variable-based pseudocode and in English descriptive pseudocode. But this approach left gaps in interpretation, leading to possible confusion or disagreement. So programmers also created state charts to fill these gaps and eliminate the potential for misinterpretation."
https://juliacomputing.com/case-studies/lincoln-labs.html https://juliacomputing.com/case-studies/lincoln-labs.html
- KenoFischer 9y agoYes, it's quite cool. The specification is a literate Julia program and the specification document is built from it. Simultaneously, they run large scale simulations to make sure that the specification behaves as the theory says it should. There was some discussion with them about deployment, and they funded us for a proof of concept Julia-to-C compiler, but the continuation of that discussion is probably still a number of years off. It's a very long term project.
- skybrian 9y agoHaving read a little about TLA+ recently, I'm curious about how specifications are written in Julia. (For example, is there model-checking involved?)
- simonbyrne 9y agoThere was a talk at JuliaCon 2015: https://www.youtube.com/watch?v=19zm1Fn0S9M https://www.youtube.com/watch?v=19zm1Fn0S9M Slides here: http://juliacon.org/2015/images/juliacon2015_moss_v3.pdf http://juliacon.org/2015/images/juliacon2015_moss_v3.pdf