https://en.wikipedia.org/wiki/TeX
Had he implemented it directly in C he would be sending checks every day.
He used Pascal maybe not for the reasons you think. Remember it was the early 70s. If you actually look at the TeX source code, I'm pretty sure you won't find the kind of Pascal you envision.
Nowadays, Knuth does use C directly. (FWIW)
Are you familiar with Daniel J Bernstein?
> the best C code isn't good enough
Are you sure _you've_ seen the _best_ code? Are you sure you understood the constraints of those writing that code when you evaluated it?
> I'd say good code meets deadlines
I'm trying to say there's an obvious compromise between the two, which explains the wide spectrum of code quality.
If you're referencing programs where half the source code is written in a theorem proving language like CoQ, that's not really "written in C", now is it?