shen-scheme icon indicating copy to clipboard operation
shen-scheme copied to clipboard

Question on shen-scheme on the Mac M1

Open doug719 opened this issue 3 years ago • 4 comments

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.

doug719 avatar May 21 '21 00:05 doug719

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.

tizoc avatar May 21 '21 12:05 tizoc

@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

NHALX avatar Nov 27 '22 18:11 NHALX

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?

sebeaumont avatar Mar 17 '24 17:03 sebeaumont

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..

tizoc avatar Mar 17 '24 21:03 tizoc