Today’s cars with more 100 million lines of code

Driverless cars will only compound this issue: the increasingly complex programming for cars.

New high-end cars are among the most sophisticated machines on the planet, containing 100 million or more lines of code. Compare that with about 60 million lines of code in all of Facebook or 50 million in the Large Hadron Collider.

“Cars these days are reaching biological levels of complexity,” said Chris Gerdes, a professor of mechanical engineering at Stanford University.

The sophistication of new cars brings numerous benefits — forward-collision warning systems and automatic emergency braking that keep drivers safer are just two examples. But with new technology comes new risks — and new opportunities for malevolence.

The article then goes on to discuss two issues: hacking this complex software and regulating it (with the recent VW case serving as a good example). I’d rather the article goes three different directions rather than just highlight what could go wrong:

  1. How exactly do car makers and programmers make sure this all works together? How many people are involved in this? Who coordinates it all? Just putting this all together is quite a task.
  2. Say more about the complexity compared to other items. Based on what was said here, it sounds like this is the most complex mechanical object the typical person interacts with.
  3. The move to driverless cars may just only up the ante. Or, can some of this be reduced if you start with no driver and a fully autonomous system? New codes can tend to simply be built on top of older codes as pieces change but starting anew may make things easier.

Frankly, much of our lives these days is dependent on complex and/or long computer codes. If all that knowledge suddenly disappeared for some reason (perhaps an interesting starting point for a sci fi story), we would have some problems.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s