3 ms·
Walter Bright will probably show up in a minute and tell you D is a better C. He's probably right too. But being the best isn't why people pick C these days. I
by Y_Y 8y ago
Walter Bright will probably show up in a minute and tell you D is a better C. He's probably right too. But being the best isn't why people pick C these days.
I also object to the idea that it's easy to write a C compiler. A toy compiler might be easy, but a good one takes UINT_MAX man-hours at least.
- billforsternz 8y ago> a good one takes UINT_MAX man-hours at least. I think Walter could legitimately claim this is only true if your int size is 11 bits (so about one man-year) or thereabouts.
- vips7L 8y agoFrom what I've seen D looks like an amazing language. I've been particularly interested in the -betterC flag.
- audunw 8y agoD is not simple and by default it relies on a garbage collector. And yes, I meant it's easy to write a simple/"toy"-compiler. TCC is a good example, and I've actually used it for a real in-house project. Not every application requires perfect compatability and good optimization, and it makes it easy to get started on more elaborate compilers.