News for hackers. Stuff that matters.
Re:A Guide to Undefined Behavior in C and C++ by titzer on Thursday August 17, 2023 @07:01PM (#37169395)
> Most graduates of Computer Science programs can, perhaps with some trouble, implement a half decent C compiler in a weekend or two.

I see you have not met most graduates of Computer Science programs.

> for any given piece of hardware you're more likely to find a random C compiler

This might have been true 10 or 20 years ago, but these days, C has grown so complex that the random C compiler is likely gcc or LLVM with not much else.

> you can churn out a C compiler quickly for almost anything given a spec of the hardware.

Who is doing this? There aren't a lot of new ISAs coming out now, and when they do come out, they usually put effort into porting either LLVM or gcc.

There are no comments on this comment yet.