19 ms·
Well into Java/C# time then. I suppose Allen's point was that Java and C# hadn't done much to improve on the basic ideas of C?
by MaxBarraclough 8y ago
Well into Java/C# time then. I suppose Allen's point was that Java and C# hadn't done much to improve on the basic ideas of C?
- pjmlp 8y ago> By 1960, we had a long list of amazing languages: Lisp, APL, Fortran, COBOL, Algol 60. These are higher-level than C. We have seriously regressed, since C developed. C has destroyed our ability to advance the state of the art in automatic optimization, automatic parallelization, automatic mapping of a high-level language to the machine. Java and C# weren´t even a thing. I suggest you read the IBM RISC research papers done with PL/8 with an LLVM like architecture in the mid-70's before they pivoted into UNIX when going into the market. The way system programming was done in Burroughs in mid-60's, nowadays still sold as Unisys ClearPath platform. OS/400 firmware being written in PL/S in the early 80's. Or even some analysis of Ada deployments in High Integrity Systems, like "Building High Integrity Applications with SPARK" (2015).
- MaxBarraclough 8y ago> Java and C# weren´t even a thing. Was the interview in 2009, or not? That was the Java 6 era. I'm still trying to make sense of "destroyed our ability to advance the state of the art" given that we now have modern Java and C#.
- pjmlp 8y agoYes it was in 2009. What she meant was that the adoption of C kind of destroyed their work doing optimizing compilers since the mid-60's, as C lacked any kind of optimization putting that on the shoulders of developers. It was the years of optimization work in C compilers, specially regarding UB abuse that has kind of matched what they were already doing on mainframes. As mentioned PL/8 was a safe systems programming language used to for IBM's RISC compilers and respective OS. The paper describing the toolchain was implemented and the pluggable optimization passes could be describing LLVM today. So with UNIX's adoption the computing world has spent a couple of decades making C compilers up to date with mainframe optimizers, rebuilding the world instead of carrying on where they already were, hence the "destroyed our ability to advance the state of art".
- MaxBarraclough 8y ago> C lacked any kind of optimization putting that on the shoulders of developers I don't get you. C is a low-level language. Its compilers perform ever more extensive optimisations. These aren't in tension. I don't know much about PL/8, but it sounds like the only reason it was fast was because it specifically targeted a particular RISC machine, and ran fast on that one platform? I don't think I'm being dismissive in saying that's essentially cheating, if we're talking about optimising compilers. Assembly code is fast too, but that's not what we're talking about. A fast high-level language means it can compile down to fast code for any target platform. Back then, all compilers were garbage. That's not C's fault. Could PL/8 compile to high-performance code for other platforms? If not, it's not doing the same thing as C. If yes, I'd like to know what it does differently to C. Other than the considerable issues that arise from pointer aliasing, C is a very optimisable language. It's a good thing that we've evolved beyond building languages specifically for machines, and building machines specifically for languages. > the pluggable optimization passes could be describing LLVM today Except nowhere near as sophisticated, and accomplishing nowhere near as much. I really don't buy this idea that C is somehow a slow high-level language, or that its existence has held-back the field of compiler optimisation. > So with UNIX's adoption the computing world has spent a couple of decades making C compilers up to date with mainframe optimizers, rebuilding the world instead of carrying on where they already were The idea that the optimising compilers of yesteryear were just as impressive as today's optimising compilers, strikes me as simply untrue. Compiler optimisation has been improving steadily for decades. I don't see anything to complain about.
- pjmlp 8y agoWell, we just need to compare how Xerox PARC, IBM and AT&T workstations in 1980 compared against each other. I leave it at that, there are plenty of places to find about history of computing.
- MaxBarraclough 8y agoSure. My knowledge isn't strong there, as you've seen :P Good talking to you.