We all know that dragon was written in c++ but what i struggle to understand is that if radiation in space can really mess with hardware and functionality and even have the capacity to change bits from 0 to 1 or vice versa how is that mitigated? Do you put wall of lead around the critical hardware?

  • 2
    $\begingroup$ Yes the hardwear is "hardened". But did you know there is a separate stackexchange dedicated to questions of space exploration. You'd get better answers on space.stackexchange.com $\endgroup$ – James K Aug 1 at 14:39
  • 1
    $\begingroup$ Definitely not StackOverflow, definitely not here, either. This is very much a space exploration question, and has in part already been addressed in the questions What computer and software is used by the Falcon 9? and What does 'triple redundant closed-loop digital avionics system' mean? There are several other related questions at that site. $\endgroup$ – David Hammen Aug 1 at 20:02
  • 1
    $\begingroup$ ti.arc.nasa.gov/m/pub-archive/1075h/1075%20(Mehlitz).pdf describes a few principles, but I am not an expert, just a hobby programmer who knows that hardware can fail. Something more sciency: ui.adsabs.harvard.edu/abs/2005AGUFMIN41A0316M/abstract. Keep in mind that SpaceX hasn't been in outer space yet and not had the necessity for the full "program". $\endgroup$ – user34599 Aug 1 at 21:19
  • 1
    $\begingroup$ stackoverflow.com/questions/56557596/…. And apparently back in 2015 SpaceX relied totally on redundancy software for for error detection and correction, not hardened hardware, if the answer is to be trusted. $\endgroup$ – user34599 Aug 1 at 22:18
  • 4
    $\begingroup$ I’m voting to close this question because it is off-topic for the Astronomy SE. As discussed in the other comments here, this would be on-topic on other Stack Exchange sites. $\endgroup$ – antispinwards Aug 2 at 11:47