a13cui, lukewarm take (had this talk in private with @mia but I have to share this):
#Rust is the best thing to happen to #Ada and they should be used a lot more (especially Ada). Moreso, I believe that Rust is essentially FP Ada with C syntax.
Now let me cook (this will be a multi-toot series). Ada, like Rust, is extremely type safe and stringent (they reach memory safety through different paradigms, but they end up having equivalent levels of memory safety).
Ada is more procedural/OO while Rust is more functional, from that POV they fit together perfectly. They're both fast languages with a lot of checks.
Rust can benefit from what we Ada people have with #SPARK and actually be able to prove that your program does what it says without a shadow of a doubt (SPARK is so good that it overshadows #MISRA C which is the gold standard for critical software made in C).
Ada can use Rust's popularity in open source and community (ideally not a toxic one at times), Rust can use Ada's proven track record of handling mission-critical tasks with no compromises whatsoever.
Ada can use Rust's successful marketing (holy shit does #AdaCore need to get involved more), Rust can use the lessons that Ada learned in its 40+ years of existence and improve upon them.
Rust can definitely benefit from having 1. an actual specification and 2. getting rustc certified (which would mean LLVM by extension), but those are behemoths and it's extremely unlikely, impossible even to audit. Lack of advertising leads to misconceptions, and misconceptions lead to not using the language (I use Tcl and Perl, so I definitely know how it feels to use languages that have been osbourned for 2+ decades).1/2
Add comment