C++ is easily fixed. Don't use any libraries except the C standard lib. No std lib, no Boost, etc., etc.
"Safe" computing comes at a cost, usually far greater than what you want to pay for DSP. Save safe coding for OSes, Internet and running your nuclear reactor.