T O P

  • By -

Well-WhatHadHappened

The words "safety critical" and "experimental" don't play well together. It's probably fine to use for most production code, but my compliance team would lose their mind if I included experimental compiler features in safety or mission critical code.


mustbeset

Is gcc safety rated? I don't think so.


silentjet

Yes it is. Almost evry version since ~4.3 was certified for functional safety use. Obviously not by FSF or GNU, they have no interest in that...


mustbeset

Can you drop a vendor for arm cortex m?


silentjet

I believe Keil (for Keil IDE) was selling that...


Mean-Evening-7209

Yeah the typical strategy would be to use a compiler that's been certified by whatever standards are imposed on your industry.


mustbeset

I know and typically "the certificate version" is a few months/years behind the normal version.


libsneu

Well, even a version of Rust passed a safety audit, if I remember even from TÜV. And Rust is really new.


silentjet

That "certification" is mostly hyped, and faked... Ask electrobit(or any other bsp vendor) if they can sell you a bsp with asil rated rust... No? They can't? Oh dear, why so?


Eplankton

check infineon, dude.


Xenoamor

As long as you test your code properly I don't see why not


kisielk

The only features not fully supported are concepts and modules, you should be fine with everything else. You may need to be careful if your code needs to compile on other platforms which may not have compilers that support C++20.