Earlier quoted context omitted.
There's nothing wrong with pulling in the `libc` dependency. It literally means adding two lines of code and then `cargo` manages everything for you. It isn't really third-party; the owner is "rust-lang:libs". I understand that people are conditioned to think APIs are easier to consume when they're in the standard library, because that's true in many languages, especially those that lack a modern package management s…
Having libc updated multiple times per month sounds like a fucking nightmare to me. What am I missing about this situation?
Why Ada Is the Language You Want to Be Programming Your Systems With
231–240 of 330 posts
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#232Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#233Earlier quoted context omitted.
> ore attention provided to things like Wasm than there is to things like embedded use cases for example. Things might be better, but last time I checked rust's compiler was a lot slower than C and the binaries were several times bigger. That last one is a big deal for embedded.
Another consideration: Rust’s compiler is also slower because it does a lot more forces you to add error handling. In terms of real impact on developers I never felt it was dramatic. The rust language support in editors is so good that you will catch most errors before compiling. So once everything is dealt with you usually compile and it just works. Binary size is also one of these areas they are dealing with atm.
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#234This article promotes a popular misconception of the programming situation for defense projects in the 1970s. There may have been "hundreds of specialized programming languages" in existence that could be used, but just a handful actually predominated. Most aeronautical projects were done in JOVIAL. I've talked about this history with engineers from the 1960s-70s. They did not regard the introduction of Ada as a good…
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#235As a side note for people like me who have no option other than C for their safety critical projects, remember there's a MISRA-C standard. If that feels too much, [1] is a good starting point. [1] http://pixelscommander.com/wp-content/uploads/2014/12/P10.pd...
Also warnings as errors, alongside static analyzers.
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#236Earlier quoted context omitted.
> "If the Ariane V code was written in C and the value simply overflowed, nothing negative would have happened" So... what you're saying is that the language not recognising an exception conditional has occurred is a better outcome in mission critical applications? "wasn't necessary", "It was an oversight", "Which was uncaught"... With these phrases you've already pointed out that the developers had improperly implem…
There is something to be said for not just halting on an error in production systems. Its the same reason assertions are usually turned off on production builds. Yes ideally the programmers should have handled the exception, but once your in production and the system is running, should you really just halt the whole program due to an exception the prograera didn't foresee?
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#237I believe the Eurofighter Typhoon was and still is programmed in Ada.
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#238Earlier quoted context omitted.
>as the desperate need to get something safer than C/C++ without compromising performance and interoperability Object Pascal D ATS Common Lisp Ada even Fortran!! the list can go on and on
I think the fact that all of those have been around for decades, and yet haven't gained much traction, implies that there's something wrong with them that makes them unsuitable. If it's just a matter of marketing and failing the subjectivity of a popularity contest, that's a shame, but I wouldn't leap to assume that's the sole reason.
On the other hand, think that some of those languages have commercial compilers being sold for decades and they are still in business.
So, some companies do value the quality of the software they product.
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#239Earlier quoted context omitted.
Possibly; I don't work for Boeing or their subcontractor. But I was getting at more of the general sense that as aircraft become more and more computerized we need more rigour and standardization of the sort that gave rise to Ada, and less of the aerospace equivalent of hacking things together in perl.
While I understand the instinct, there is a flip side. A while back Lutz Prechelt posed the phonecode problem, inviting solutions in multiple languages. While he didn't specify error handling, the Perl solutions were on average better at error handling than the compiled language solutions.
[0]: http://www.inf.fu-berlin.de/inst/ag-se/teaching/V-EMPIR-2011...
Re: Why Ada Is the Language You Want to Be Programming Your Systems With
#240What is the employment market like for Ada?
Basically many industries that fall under the High Integrity Computing umbrella.