Sven Groot wrote:I think the biggest problem in C is the whole "arrays are pointers" debacle. If C had proper arrays, it would be a lot easier for compilers to optimize C code, especially to use vector instructions.
You're allowed to be wrong about this.
But I'm not.
In my mind, a "proper" array is just an address. None of this fancy stuff. Of course, it depends on what you're going for, and I bet C was first designed before vector operations were widely available. That, and C has to work on platforms that will more
than likely not have them (embedded, etc.).