5 ms·
Some of the error messages produced by Apple's MPW C compiler (2006)
- watersb 5y agoMPW is the Macintosh Programmer's Workbench. I had forgotten about these. I think my first real push with MPW was using it as an environment to host the AT&T C++ compiler, which at that time was still a bunch of preprocessor macros written by Bjarne himself.
- mistrial9 5y agoI was a cfront beta site using MPW; for people that don't know, that was the self-compiling C++ from C, before the first AT&T C++ compiler, in the late 1980s.
- rjsw 5y agoCfront was from AT&T, it compiled C++ to C. I had the source to Cfront 1.2, which was before multiple inheritance was added to the language.
- mistrial9 5y agoI agree and we are saying the same thing. There was no C++ compiler, the C++ language was processed by cfront, similar to the preprocessor and include compile phase. AT&T supplied cfront. The language spec was changing. I wrote applications with it, not checking "language lawyer" syntax problems. I wrote general feedback on performance, and things that would make the language practical. It is hard to describe those days, but concepts of object-oriented programming were new to many people, and I was quite interested in building actual applications. The linker was the common linker for multiple other languages, like gcc today.
- scroot 5y agoI booted up MPW in an emulator last year to check it out. Definitely a unique experience. Very cool.
- JKCalhoun 5y agoI was introduced to MPW when I started at Apple in 1995. I started on Quickdraw GX (if anyone remembers that). Not specifically related to MPW, more about the times, a clean compile of the Quickdraw GX framework took something like eight hours. (Fortunately incremental builds were much quicker.) Nonetheless, it was common to kick off a clean build as you were leaving the office for the night. Funny to think about that compiler compiling all night as I had dinner, watched a little cable TV, got some sleep....
- kabdib 5y agoThe Mac you compiled that on likely had a 5Mhz (yes, FIVE MEGAHERTZ) SCSI bus for its disk I/O. And none of the headers had "#pragma once" . . . Was QuickDraw GX also known as Skia, perhaps earlier in its life?
- mwcremer 5y agoSkia was the graphics part. The printing part was “El Kabong” (Quick Draw McGraw’s alter ego.)
- mastax 5y agoIs anyone at Apple allowed to have a sense of humor anymore?
- imoverclocked 5y agoAbsolutely.
- memco 5y agoCraig Federighi finds a way.
- doctor_eval 5y agoHair Force One FTW!
- smoldesu 5y agoHumor is subjective, but I've always found Craig's performative sense of humor to be more annoying than anything else. The smug brainiac shtick is so old at this point that the dude practically steps on Steve Ballmer's feet.
- nojito 5y agoTheir test OS for iPhone's is hilarious https://www.theiphonewiki.com/wiki/TigrisAni_15A93720r https://www.theiphonewiki.com/wiki/TigrisAni_15A93720r
- deleted 5y ago[deleted]
- unfocussed_mike 5y agoAhh, I saw the "too many errors on one line" report once when playing with MPW. A very underrated, idiosyncratic, clever development environment, somehow more reminiscent of Poplog than anything else I've used.
- Veserv 5y agoJust for some context, the MPW C compiler that produced those messages was actually not developed internally at Apple, but was rather done by Green Hills Software [1] under contract as mentioned on the wikipedia page [2] and its source [3] which is funnily enough about this exact same topic. [1] https://en.m.wikipedia.org/wiki/Green_Hills_Software https://en.m.wikipedia.org/wiki/Green_Hills_Software [2] https://en.m.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop https://en.m.wikipedia.org/wiki/Macintosh_Programmer%27s_Wor... [3] https://web.archive.org/web/20140528005901/http://lists.apple.com/archives/MPW-Dev/2005/May/msg00003.html https://web.archive.org/web/20140528005901/http://lists.appl...
- dls2016 5y agoI forget why I went into their building, but I always remember a giant T-rex skull in their entryway. I'm not making this up, am I? I did find this press release, but it really just raises more questions than answers anything. https://www.prnewswire.com/news-releases/ubm-electronics-and-green-hills-software-to-feature-66-million-year-old-tyrannosaurus-rex-skeleton-at-esc-silicon-valleys-decode-the-past-embed-the-future-experience-119777784.html https://www.prnewswire.com/news-releases/ubm-electronics-and...
- jsrcout 5y agoI found a Green Hills page with a little more info. https://www.ghs.com/news/20110427_esc_silicon_valley11.html https://www.ghs.com/news/20110427_esc_silicon_valley11.html Sounds like GH's founder just really likes dinosaurs. (To be clear, if I was in that kind of financial position, I'd absolutely have a T-rex skull, or better yet the whole dinosaur, on display in the lobby).
- kabdib 5y agoI 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.
- secabeen 5y ago> " please go buy a RAM upgrade from your local Apple dealer" Not possible any more!!!
- abrowne 5y agoSure it is. It just comes with a new Mac.
- chihuahua 5y agoThink different about sustainability.
- rjsw 5y agoYou can still buy RAM to go in 68k Macs, just not from Apple dealers.
- Infernal 5y agoIt's really expensive but they throw the rest of a new machine in with it as consolation. EDIT: Sibling beat me by a couple minutes. DO great minds really think alike?
- philpem 5y agoSometimes, but fools' never differ :)
- smoldesu 5y agoI'm not sure their memory pricing is competitive these days anyways.
- Someone 5y agohttps://www.apple.com/us/search/memory https://www.apple.com/us/search/memory lists 10 products (for the 2018 Mac Mini, 2019 Mac Pro, and 2019/2020 5k iMac)
- nyanpasu64 5y ago> This label is the target of a goto from outside of the block containing this label AND this block has an automatic variable with an initializer I get this issue a lot on modern compilers, when trying to write switch/macro-based coroutines (https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html) in C++. Does anyone have a workaround? (I hope it doesn't involve C++20 coroutines... I still don't understand them.)
- josephcsible 5y agoIf your variable is a class without a trivial default constructor, then you're out of luck. Otherwise, the workaround is to not initialize the variable, and to instead assign to it immediately after declaring it (e.g., replace "int x = 42;" with "int x; x = 42;").
- elahieh 5y agoOriginal source: Tony Cunningham, rec.humor.funny, 7 August 1991 https://groups.google.com/g/rec.humor.funny/c/knG5ONlInXM/m/Q8TDoEPNG4QJ https://groups.google.com/g/rec.humor.funny/c/knG5ONlInXM/m/...
- fghorow 5y agoMPW. Object Pascal. MacApp. Ahh, memories. (Some of them are even _good_ memories! ;-) )
- vba616 5y agoI remember when I compiled a "hello world" with some new OO framework, possibly MacApp, and it was something like 400K, to do nothing, and I thought that was outrageous and obviously much too bloated for real software.