I've been engaged in a 1.5 year long (so far) project to port the entirety of GJS's "scmutils" package over to Clojure, and the erratic behavior of MIT Scheme over Rosetta has been a pain I've consigned myself to for months. I keep an old machine handy when I need to test functions that can'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://github.com/sicmutils/sicmutils" rel="nofollow">https://github.com/sicmutils/sicmutils</a>
[1] <a href="https://github.com/sicmutils/fdg-book" rel="nofollow">https://github.com/sicmutils/fdg-book</a>
[2] <a href="https://github.com/sicmutils/sicm-book" rel="nofollow">https://github.com/sicmutils/sicm-book</a>
Both of the compilation errors identified in this article were just fixed in the master branch of MIT/GNU Scheme five hours ago: <a href="https://git.savannah.gnu.org/cgit/mit-scheme.git/commit/?id=350be6720bce76eec23b551c720adc3570c0a608" rel="nofollow">https://git.savannah.gnu.org/cgit/mit-scheme.git/commit/?id=...</a>, <a href="https://git.savannah.gnu.org/cgit/mit-scheme.git/commit/?id=013fad016413e582d769e5d1b7e6bd15006554c4" rel="nofollow">https://git.savannah.gnu.org/cgit/mit-scheme.git/commit/?id=...</a>. So, if you grab the current master branch, it should just build for x86 without any fixes needed.
What'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/fork issue and the compiler upgrade issue don't seem to be too problematic to work around, so there must be some kind of ARM limitation that's preventing Scheme from working, but what?
I find it a bit disingenuous to say that it runs on apple silicon if you need to modify source code. Also it's not because it compiles and starts that it's fully functional.<p>The main MIT Scheme page say that it's not possible and need significant efforts, so I would be curious to get a description as to why one claim it's impossible while the other show that it compiles and starts.<p>Are the original authors too much against M1/Apple and justify themselves ? Or does compiling on M1 sort-of works until you hit more complex features that will crash or misbehave ?
I got MIT Scheme running on my M1 MacBook Pro about 6 months ago when I bought the book "Software Design for Flexibility" and although I can'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.
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://github.com/racket/ChezScheme/" rel="nofollow">https://github.com/racket/ChezScheme/</a>
Very cool how much interest there is in mit-scheme and sicm. On the csail website I think the '.com' binary for scmutils only works with v10 and was released about a year ago. Does anyone know where there are instructions for finding/compiling a version that works with the latest version of mit scheme?