2 ms·
The last time a widely used language was built for safety (Ada), the first thing they did was to hammer out a spec for the language's semantics, even before imp
by bitwize 6y ago
The last time a widely used language was built for safety (Ada), the first thing they did was to hammer out a spec for the language's semantics, even before implementation began. Today, hackers cavil about "design by committee", and Ada was probably the most widely mocked language to come along since COBOL, but its well-defined, slowly changing semantics (it can take a decade for a new standard to come out, and the new standards don't mess with the stuff that worked in the old standards) has been its salvation, and why entire industries of safety-critical software rely on it today.
The Rust Evangelism Strike Force could take a few hints from the actual military about how to design a language to a spec. By all means, iterate with actual code first. But do not expect third party users to use the "whatever rustc does is the spec" releases for actual production work. Use those releases to hammer out the details, draw up a spec, then release the spec (under an open license of course) and let the implementations flourish.
- carols10cents 6y agoThere is work being done towards a spec as we speak. C didn't have a spec until 10 years after it was created, Rust will get there in time :) It's perfectly fine to want to wait until that point to use Rust.
- dralley 6y ago> The Rust Evangelism Strike Force could take a few hints from the actual military about how to design a language to a spec. You can argue that Rust could do better, but using the military as an example of doing it "right" is kinda funny. 1) The military changes specifications all the time, which is a big reason why so many projects go over budget by 300%. Look at the B-1, B-2, F-22, F-35, Space Shuttle, etc. All boondoggles caused by making tons of last minute changes that blow up the entire project. 2) The military is moving away from Ada. The F-35 avionics code was all written in C++. Apparently they decided it was easier to hire existing C++ developers than to teach people Ada.