logoalt Hacker News

stackghostlast Sunday at 7:06 PM2 repliesview on HN

Depends on the company in my experience. I've seen some suppliers that basically just wire up the diagram in Matlab/simulink and hit Autocode. No humans actually touch the C that comes out.

Honestly I think that's probably the correct way to write high reliability code.


Replies

garyfirestormlast Sunday at 7:13 PM

You’re joking right? That autogenerated code is generally garbage and spaghetti code. It was probably the reason for Toyotas unintended acceleration glitch.

show 6 replies
superxpro12last Monday at 2:58 PM

I just vomited in my mouth a little. Please god no.