3 ms·
The lesser safety gives you better performance. No. That excuse has been bandied about for years, but it's wrong, as we're now seeing as Rust gets better. C's
by Animats 10y ago
The lesser safety gives you better performance.
No. That excuse has been bandied about for years, but it's wrong, as we're now seeing as Rust gets better. C's problems with arrays come from lack of expressive power in the language. C doesn't even let you talk about array size in parameters.
Many of C's painful design decisions come from trying to cram a compiler into a PDP-11 with 128KB (not MB) of memory for a process. Global analysis on a machine that small while retaining reasonable compile times was hopeless. This is no longer a limitation.