1 Jan 2010 01:39
Re: What's C's biggest mistake?
Kevin Bealer <kevinbealer <at> gmail.com>
2010-01-01 00:39:43 GMT
2010-01-01 00:39:43 GMT
BCS Wrote: > Hello Walter, > > > BCS wrote: > > > >> I guess my point is that aside from VERY resource limited systems, > >> almost no one will have C as their first choice. Even with those > >> limited systems I'd bet that most people would rather be working in > >> something else if they could. That said, there are many places where > >> it ends up being the lingua franca. > >> > > I still think you're underestimating C's audience. Consider the Linux > > effort - they can choose any implementation language they want, and > > they choose C. They aren't forced into C. > > > > Yes, C has a wide audience (any one who says differently is selling something). > But I still thing that their are very few cases where C will be chosen for > reasons other than it's purely technical merits. If C++/Java/C#/python/whatever > would have done just as good a job in Linux as C, I'd almost bet that Linux > wouldn't have been written in C. My point isn't that C is never the right > choice (as that is clearly false) but that when C is chosen, it's (almost) > always for technical reasons rather than aesthetic ones (where it is merely > good enough). I would say these are the technical merits of C that get it chosen these days: 1. The new code they're writing will be part of a large body of existing C code which they don't have time, permission, or inclination to convert to C++.(Continue reading)
A larger stack alignment? (I think on Snow Leopard the standard
stack alignment is 16 bytes).
Bye,
bearophile
RSS Feed