Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on shen-scheme on the Mac M1 #19

Open
doug719 opened this issue May 21, 2021 · 4 comments
Open

Question on shen-scheme on the Mac M1 #19

doug719 opened this issue May 21, 2021 · 4 comments

Comments

@doug719
Copy link

doug719 commented May 21, 2021

Hello Bruno. This is a question, not a problem report. If you have an email address where I can ask questions (instead of this issues report), please let me know. I now have a mini mac m1, which uses the Arm 64 bit instruction set. It will execute x86_64 code thru a translation. On linux I use a AMD 5600, and the single processor speed is about the same as that of a Mac m1. Shen-scheme on the Mac is X86_64, and runs about 2.5 times longer than the code on linux X86_64 native. Are there any plans to compile Shen-scheme on the M1 instruction set? Regards -- Doug I tried brew install but the compile failed.

@tizoc
Copy link
Owner

tizoc commented May 21, 2021

Hello @doug719. Shen/Scheme supports whatever Chez supports, but Chez doesn't support ARM64 yet. Once that happens, then Shen/Scheme will also support it.

@NHALX
Copy link

NHALX commented Nov 27, 2022

@doug719 shen-scheme works natively on the racket fork of Chez on Apple M1 and the performance is quite good. https://github.com/racket/racket/tree/master/racket/src/ChezScheme

@sebeaumont
Copy link

I have a chez-scheme 9.9.9 multithreaded which works fine on the m1 (arrch64) as a backend for Idris -- is there a way to compile the shen-scheme using this scheme?

@tizoc
Copy link
Owner

tizoc commented Mar 17, 2024

I see Chez 10.0.0 got released and one of the changes is:

AArch64 (64-bit Arm), RV64G (64-bit RISC-V), and LoongArch64 architectures are supported

I just pushed an updated Makefile that uses Chez 10.0.0 to the chez branch. Until I complete those changes so that it works for Windows too and make a new release, you can use that branch to build Shen/Scheme for those Apple chips in macOS version..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants