TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Some of the error messages produced by Apple's MPW C compiler (2006)

270 点作者 Asdrubalini将近 2 年前

19 条评论

jonhohle将近 2 年前
I miss this kind of playfulness in computing.<p>When I was at Amazon my manager told me that several years earlier he was responsible for updating the 404 page so he scanned a picture of a cat his daughter drew and made that the body of the page. In 2009 when I started, that was still the image, but at some point someone must have noticed and replaced it with a stock photo of a dog. The asset was still called kayli-kitty.jpg, though. It’s since been changed again to rotating pictures and references to the original are gone.
评论 #37286158 未加载
评论 #37283895 未加载
评论 #37284004 未加载
评论 #37284386 未加载
评论 #37283861 未加载
评论 #37285729 未加载
评论 #37283933 未加载
AnonC将近 2 年前
&gt; &quot;Symbol table full - fatal heap error; please go buy a RAM upgrade from your local Apple dealer&quot;<p>Ah, the old times when one could purchase a RAM upgrade or upgrade RAM after buying a computer. Now this would be:<p><i>&quot;Symbol table full - fatal heap error; please go buy a new Mac with more RAM&quot;</i>
评论 #37290119 未加载
评论 #37284650 未加载
评论 #37288599 未加载
评论 #37284690 未加载
mkovach将近 2 年前
<p><pre><code> &quot;a typedef name was a complete surprise to me at this point in your program&quot; </code></pre> Ah, the joys of fun compiler messages. I miss those days. I remember getting one from a vendor compiler that was:<p><pre><code> &quot;No! But they&#x27;ll only let me warn you. Danger Will Robinson! Danger!&quot; </code></pre> and:<p><pre><code> &quot;Really! If you are fussing around with void *, just go home or at least back to your editor!&quot; </code></pre> I think the IT manager kept that as a vendor just because of the message (the SDK was meh, but also fun!).
评论 #37285259 未加载
rickreynoldssf将近 2 年前
I was programming on MacOS (the original) since it was possible. I remember many of these error messages! Especially &quot;Too many errors on one line (make fewer)&quot;.<p>...also remember 45 minute builds when a header file changed.
评论 #37286781 未加载
bondolo将近 2 年前
I used this compiler for years and eventually came to be able to “decompile” the 68k object code it produced back to C code in my head on the fly unless the function was too large. Using MacNosy I could rebuild the C source for an app in usually only a couple of hours. I had a script that converted a MacNosy file of an app into an assembler file and rsrc file and I could translate functions to C one at a time while having a buildable app equivalent to the original. I originally used the tools for hacking games but sometimes used it to fix bugs.<p>The MPW C compiler code generation was so predictable in part because of the symmetry of the 68k instruction set. They wrote a simple compiler and it worked. For the most part effort was spent elsewhere. Since you could reasonably predict what code would be generated if you were unhappy with the code generation you fixed the source. I like that the javac compiler has a similar ethos, With similar effect. Once you know the patterns to use you can generate fairly close to optimal byte code.
zabzonk将近 2 年前
My favourite syntax error message produced by the Glockenspiel C++ compiler (a cfront derived piece of junk that I used in a training company in the early 90s) was simply &quot;core dumped&quot;. This was slightly tricky to explain to people already struggling with C++, and who had paid us money for the course.
评论 #37284066 未加载
13of40将近 2 年前
&quot;Call me paranoid but finding &#x27;&#x2F;*&#x27; inside this comment makes me suspicious&quot;<p>That, Sir, is none of your business.
评论 #37284797 未加载
II2II将近 2 年前
Tangential to the content of the page: I really enjoyed how many MPW utilities generated output, including error messages, in the form of commands. Your terminal was an editor buffer, so you could cursor up (or click) on the appropriate line then press something like cmd-enter to pull up the file in question (among other things).
评论 #37286023 未加载
评论 #37285476 未加载
bemusedthrow75将近 2 年前
<i>&quot;a typedef name was a complete surprise to me at this point in your program&quot;</i><p>I&#x27;ve seen this list so many times and this one makes me laugh out loud every single time.
评论 #37294424 未加载
Veserv将近 2 年前
Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30238928">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30238928</a><p>To inline my comment in the previous thread:<p>Just 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.<p>[1] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Green_Hills_Software" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Green_Hills_Software</a><p>[2] <a href="https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Macintosh_Programmer%27s_Workshop" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.m.wikipedia.org&#x2F;wiki&#x2F;Macintosh_Programmer%27s_Wor...</a><p>[3] <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140528005901&#x2F;http:&#x2F;&#x2F;lists.apple.com&#x2F;archives&#x2F;MPW-Dev&#x2F;2005&#x2F;May&#x2F;msg00003.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20140528005901&#x2F;http:&#x2F;&#x2F;lists.appl...</a>
评论 #37284074 未加载
vincent-manis将近 2 年前
My favorite error message was produced by the Univac Fortran V compiler, circa 1970: “Warning: floating point equality tests are nugatory.” I pride myself on my vocabulary, but I had to use the dictionary.
评论 #37287856 未加载
skipkey将近 2 年前
The old Clipper 5 compiler had some fun error messages. The two that I remember running into were “Ford Maverick Error”, and my personal favorite, “Carnage! Module name crushed in compilation disaster!”. I ran across both abusing its preprocessor.
评论 #37286764 未加载
评论 #37287584 未加载
nickt将近 2 年前
That whole subdirectory is full of some old school internet humour.<p><a href="https:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~jasonh&#x2F;personal&#x2F;humor&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.cs.cmu.edu&#x2F;~jasonh&#x2F;personal&#x2F;humor&#x2F;</a>
d3psi将近 2 年前
alright, these are hilarious. i miss this playful attitude in modern-day software engineering, we need more of it.<p>also, the note on the copyright is hilarious.
tom_将近 2 年前
&gt; &quot;...And the lord said, &#x27;lo, there shall only be case or default labels inside a switch statement&#x27;&quot;<p>Did it seriously not let you have a goto label inside a switch?! This seems like an odd restriction, as all 3 are the same kind of thing.
评论 #37291911 未加载
OnlyMortal将近 2 年前
I really loved MPW Shell.<p>Been able to have a worksheet with random shell commands I’d built up, triple-clicking a line and hitting enter to run the selection.<p>It was quite a thing.
gjvc将近 2 年前
I had NFI what MPW was until I read this: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Macintosh_Programmer%27s_Workshop" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Macintosh_Programmer%27s_Works...</a>
nigwil_将近 2 年前
MPW had an interesting About box animation too. I recorded this back in 2011 using vMac emulator. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=aJn3qxK9Br0">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=aJn3qxK9Br0</a>
mistrial9将近 2 年前
there were also MetroWerks bindings for MPW, long ago, but Apple killed it with fire