Hacker News new | ask | show | jobs
by robocat 2679 days ago
> over 12,000 GLOBAL VARIABLES

How many global variables do each of Toyota's competitors have?

2 comments

honestly, in the context of an embedded system, I'm not bothered by this.

I'd expect to see very little dynamic resource allocation, so you could probably put a permanent name to almost every byte of data in the system.

Remember, once it's compiled, everything's a global anyway, especially on chips small enough to not be set up with a strong multi-tasking and memory management model.

Does it matter if all your friends jump off a bridge?

Toyota got caught with inexcusably bad software practices. There is a reason Chrylser, GM, Ford, and others are pushing it out of house to suppliers.