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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

MIT Scheme on Apple Silicon

145 点作者 kennethfriedman超过 3 年前

13 条评论

sritchie超过 3 年前
I&#x27;ve been engaged in a 1.5 year long (so far) project to port the entirety of GJS&#x27;s &quot;scmutils&quot; package over to Clojure, and the erratic behavior of MIT Scheme over Rosetta has been a pain I&#x27;ve consigned myself to for months. I keep an old machine handy when I need to test functions that can&#x27;t work on the M1.<p>I am SO HAPPY to see this work! Major timesaver for me and anyone looking to run the executable versions of Functional Differential Geometry[1] and Structure and Interpretation of Classical Mechanics[2] in the original language.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;sicmutils" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;sicmutils</a> [1] <a href="https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;fdg-book" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;fdg-book</a> [2] <a href="https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;sicm-book" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sicmutils&#x2F;sicm-book</a>
评论 #29715161 未加载
nneonneo超过 3 年前
Both of the compilation errors identified in this article were just fixed in the master branch of MIT&#x2F;GNU Scheme five hours ago: <a href="https:&#x2F;&#x2F;git.savannah.gnu.org&#x2F;cgit&#x2F;mit-scheme.git&#x2F;commit&#x2F;?id=350be6720bce76eec23b551c720adc3570c0a608" rel="nofollow">https:&#x2F;&#x2F;git.savannah.gnu.org&#x2F;cgit&#x2F;mit-scheme.git&#x2F;commit&#x2F;?id=...</a>, <a href="https:&#x2F;&#x2F;git.savannah.gnu.org&#x2F;cgit&#x2F;mit-scheme.git&#x2F;commit&#x2F;?id=013fad016413e582d769e5d1b7e6bd15006554c4" rel="nofollow">https:&#x2F;&#x2F;git.savannah.gnu.org&#x2F;cgit&#x2F;mit-scheme.git&#x2F;commit&#x2F;?id=...</a>. So, if you grab the current master branch, it should just build for x86 without any fixes needed.
评论 #29718656 未加载
jeroenhd超过 3 年前
What&#x27;s stopping people from just compiling Scheme for ARM? The website has a separate aarch64 download it seems, so why not patch that instead of relying on Rosetta2?<p>The vfork&#x2F;fork issue and the compiler upgrade issue don&#x27;t seem to be too problematic to work around, so there must be some kind of ARM limitation that&#x27;s preventing Scheme from working, but what?
评论 #29714587 未加载
carreau超过 3 年前
I find it a bit disingenuous to say that it runs on apple silicon if you need to modify source code. Also it&#x27;s not because it compiles and starts that it&#x27;s fully functional.<p>The main MIT Scheme page say that it&#x27;s not possible and need significant efforts, so I would be curious to get a description as to why one claim it&#x27;s impossible while the other show that it compiles and starts.<p>Are the original authors too much against M1&#x2F;Apple and justify themselves ? Or does compiling on M1 sort-of works until you hit more complex features that will crash or misbehave ?
评论 #29714264 未加载
mark_l_watson超过 3 年前
I got MIT Scheme running on my M1 MacBook Pro about 6 months ago when I bought the book &quot;Software Design for Flexibility&quot; and although I can&#x27;t find my notes for that, I think I remember building from source natively, not via Rosetta - but I may remember incorrectly.<p>I also remember it taking a while to get Gerbil Scheme running on M1.
评论 #29716631 未加载
pupdroid超过 3 年前
The Racket fork of Chez Scheme runs natively on Apple ARM (AFAIK these changes have not yet been merged into the main branch of Chez Scheme)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;racket&#x2F;ChezScheme&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;racket&#x2F;ChezScheme&#x2F;</a>
softwarebeware超过 3 年前
Just fyi in dark mode on this site, the code snippets are almost unreadable
评论 #29733643 未加载
jeffrallen超过 3 年前
Rule of thumb: don&#x27;t take advice from people who can&#x27;t explain why they suggest you comment code out.
评论 #29733653 未加载
montmorency88超过 3 年前
Very cool how much interest there is in mit-scheme and sicm. On the csail website I think the &#x27;.com&#x27; binary for scmutils only works with v10 and was released about a year ago. Does anyone know where there are instructions for finding&#x2F;compiling a version that works with the latest version of mit scheme?
rcarmo超过 3 年前
Nice. FYI, I&#x27;ve been using Fennel on Monterey (via brew), and it&#x27;s also great for that extra LISPy feeling.
wyclif超过 3 年前
I wish I had known this before I recently installed Racket because I&#x27;m currently reading SICP.
Koshkin超过 3 年前
That MIT Scheme includes an emacs clone that uses Scheme instead of elisp is a nice touch.
评论 #29721034 未加载
thomasjudge超过 3 年前
Just a UI comment, the white highlighting of white text on a black&#x2F;grey background is pretty unreadable in my browser
评论 #29714260 未加载
评论 #29721357 未加载