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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Swift on Mac OS 9

272 点作者 bdash大约 5 年前

14 条评论

davidbalbert大约 5 年前
In response to:<p>&gt; Fun aside: I’ve always assumed this is why Core Foundation exists—to provide a common interface between Carbon and Cocoa. I don’t actually have a citation for this, though.<p>This (very enjoyable) blog post from 2006 confirms it: <a href="https:&#x2F;&#x2F;ridiculousfish.com&#x2F;blog&#x2F;posts&#x2F;bridge.html" rel="nofollow">https:&#x2F;&#x2F;ridiculousfish.com&#x2F;blog&#x2F;posts&#x2F;bridge.html</a>. I believe ridiculous_fish was working at Apple at the time.
评论 #22755848 未加载
评论 #22755240 未加载
jacobush大约 5 年前
I suddenly felt the old Amiga fanboi inside of me pop up... :-)<p>At one time, up to at least 1996 the fastest Mac for running Photoshop, was not a Macintosh at all, but an <i>Amiga</i> tricked out with a graphics card and a CPU upgraded from the standard 68020 or 68040 to Motorolas last entry in the 68k line, the 68060. (Roughly equivalent to a Pentium - a bit slower clock but slightly more powerful instructions.)<p>How could this be? Photoshop 4 used 68k instructions, and the fastest 68k based Mac was the Quadra with the 68040 CPU. The first PowerMac was released in 1994, but it had to emulate the 68k to run Photoshop, which had a serious performance hit. Once Photoshop was released for the PowerPC, this anomaly ended.<p>(And Photoshop on Windows must have been faster than both Amiga and Mac pretty much immediately, but if I recall correctly it wasn&#x27;t as capable on Windows right then. Or maybe people used to working on Macs for magazines etc just weren&#x27;t prepared to switch platforms on a whim.)<p>So, Amiga was the original Hackintosh. :-)<p>But the copyright situation was even thornier then - to start the emulator you&#x27;d have to copy ROM images from a real Mac, and the only legal way to do that was to buy a Mac.<p>(Not that anybody did that, they just copied the ROM onto a floppy.) I think the preferred emulator was Shapeshiter. It worked remarkably well because most Macintosh programs did not use any direct hardware access but used the Apple provided official APIs.<p>Another anomaly was that Amiga was dead as a commercial gaming target by then, and so did not receive a port of Doom - but you could run the Macintosh version of Doom:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=spHpv3NKQhI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=spHpv3NKQhI</a><p>Earlier, there was even an older Mac emulator for the Amiga which tried to go the legal route by having a little hardware board you could put Mac ROMs into. (And then of course people copied the original ROMs and put them on EPROMs.)<p>Edit:<p>the same CPU upgrade <i>almost</i> happened to 68030 based Macs:<p><a href="https:&#x2F;&#x2F;lowendmac.com&#x2F;2016&#x2F;cpus-motorola-68060&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lowendmac.com&#x2F;2016&#x2F;cpus-motorola-68060&#x2F;</a>
评论 #22766685 未加载
rvz大约 5 年前
You&#x27;d have to go through a lot of hoops like LLVM, compiler, etc CPU support just to get a Mac OS app written in Swift visible on the screen on OS9. Very interesting technical read on CPU support, compiler support, no matter the usefulness.<p>Impress me further if you can do that with BeOS.
评论 #22755182 未加载
评论 #22755022 未加载
scarface74大约 5 年前
This is the coolest, awesome most useless thing I’ve read in awhile. I can’t wait to see where this goes.
评论 #22755107 未加载
kingnight大约 5 年前
I recently have been getting into making a lot of small swift apps for personal use AND now have MacOS 7 and 8 running on my iPad since they’ve added mouse pointer support. Excited to dig into this article!
评论 #22754830 未加载
评论 #22754868 未加载
评论 #22756716 未加载
bound008大约 5 年前
Awesome project and a great read! (Is it weird for anyone else to see such a nostalgic meme?)
jamesfmilne大约 5 年前
The big takeaway for me is the MPW emulator that lets you run the tools from MPW.<p>Gonna give that a go!
jdub大约 5 年前
This article encouraged me to finally buy the iMac G4 I&#x27;ve always dreamed about.
评论 #22757943 未加载
评论 #22759197 未加载
holistio大约 5 年前
This is so wonderfully utterly useless. I love it.
saagarjha大约 5 年前
Cool! Is there a copy of the Swift BitPaint code anywhere? I couldn&#x27;t see it. Just trying to gauge how much this could support.
评论 #22756460 未加载
mkchoi212大约 5 年前
Now, let’s run Swift on the original Macintosh.
jacobush大约 5 年前
I wonder if this was inspired by the person who compiled .NET for Windows 3.11?
laszlokorte大约 5 年前
I would be happy already if the swift&gt;3.x would run on my osx sierra machine
radley大约 5 年前
OS X was released 19 years (+ 1 week) ago...