News for hackers. Stuff that matters.
Re:Some of the error messages produced by Apple's MPW C comp... by kabdib on Sunday February 06, 2022 @09:47PM (#30239656)
I forget what happened to the Green Hills folks, but the official MPW C compiler was an offshoot of the MPW Pascal compiler, and was written by Roger Lawrence at Apple in about a year (around 1987-1988) largely as a reaction to what he thought was a terrible contract.

The Green Hills folks were likewise upset at Roger's effort. "Anyone who says they can write a compiler in a year should be fired." Roger himself held the same opinion, a couple of years later :-)

I sat next to Roger while he wrote that thing, he was in the next cubie over (I was working on the MPW linker and some other tools). He types really fast.

Re:Some of the error messages produced by Apple's MPW C comp... by jsrcout on Sunday February 06, 2022 @11:06PM (#30240277)
Hello from a guy who used your and Roger's work every day back then. Still one of my favorite developer experiences. (I ported an old-school AI application from its original Sun workstation environment to the Macintosh. Had a blast but our product crashed and burned with the AI winter).
Re:Some of the error messages produced by Apple's MPW C comp... by wglb on Sunday February 06, 2022 @10:13PM (#30239861)
> Anyone who says they can write a compiler in a year should be fired." Roger himself held the same opinion, a couple of years later

Nonsense.

Three of us did it in a year compiling a language similar to PL/M written in Bliss 36 on a PDP-10. And that was when compilers were much harder to do then than they are now.

Re:Some of the error messages produced by Apple's MPW C comp... by moonchild on Sunday February 06, 2022 @09:49PM (#30239676)
> Anyone who says they can write a compiler in a year should be fired.

...why?

Re:Some of the error messages produced by Apple's MPW C comp... by kabdib on Sunday February 06, 2022 @09:55PM (#30239725)
Well, they were clearly upset at losing the contract.

But mostly they were trying to say, "Okay, you probably have a guy who can do that. But it will be a buggy mess and it will go better if you don't give that dev permission to be a hero."

Re:Some of the error messages produced by Apple's MPW C comp... by moonchild on Monday February 07, 2022 @07:27PM (#30253489)
I still don't follow. A year seems like plenty of time to build a c compiler. Maybe it won't generate the best code, but no compiler did, back in the day.