How does programming in Think C or Turbo Pascal compare to the new m68k compilers? If I were to make a program from scratch, what’s my best environment if I care about performance? I gather the old C and Pascal compilers were probably not very optimized and that assembly would be needed quite a bit, but given how good modern compilers are, is that true now?
I was using MPW C back in those days. Great for shell scripting.
Think C was a fast compiler I used briefly as “Think C With Objects”. Objects were done with Handles so you had to lock an object before using it. The OS could move the backing memory of a Handle around as memory demands required.
Don't you think it's a bit odd that the example program uses short-circuiting booleans as conditionals and uses the fabled downto operator?[1] The article's not teaching how to program, it's just showing you how to set up THINK C -- the intro suggests that the target audience is programmers ("I can see [...] that you, too, are a programmer.")
If one’s going to argue about choice of first programs, a proper Hello World on classic macOS requires the use of the Mac Toolbox. Using the bundled Think C console isn’t really producing a Mac-native program.
For a more directed and more C-oriented walkthrough, the Macintosh C Programming Primer was a pretty common go-to. It's been out of print for ages, of course, but there's a PDF available at: