new Architecture?

104 views
Skip to first unread message

John Clements

unread,
Nov 12, 2020, 5:26:52 PM11/12/20
to Racket Developers
Goodness… Apple is changing processors again. Am I right in thinking that the support that Matthew added for Aarch64 early this year positions us unbelievably well for the transition to Apple silicon & specifically the M1 chip? Or maybe everyone but me already knew this was coming?

John

John Clements

unread,
Nov 12, 2020, 5:27:04 PM11/12/20
to Racket Developers

Matthew Flatt

unread,
Nov 12, 2020, 5:49:28 PM11/12/20
to John Clements, Racket Developers
Some of us had heard about it, at least. :)


Matthew

John Clements

unread,
Nov 12, 2020, 6:09:45 PM11/12/20
to Matthew Flatt, Racket Developers
Yeah, a bit of internet searching suggests that there have been rumors about this floating around. Is this work available on the main chez branch? I just spent some time on the chez web page, and it’s astonishingly opaque; I can’t see any mention at all of what architectures it supports, which you’d think would be a front-page item for a native compiler.

All of which is to say: many thanks to you & whoever else made this happen.

John



Philip McGrath

unread,
Nov 12, 2020, 6:37:36 PM11/12/20
to John Clements, Matthew Flatt, Racket Developers
On Thu, Nov 12, 2020 at 6:09 PM 'John Clements' via Racket Developers <racke...@googlegroups.com> wrote:
I just spent some time on the chez web page, and it’s astonishingly opaque; I can’t see any mention at all of what architectures it supports, which you’d think would be a front-page item for a native compiler.

  • Linux x86, nonthreaded (i3le) and threaded (ti3le)
  • Linux x86_64, nonthreaded (a6le) and threaded (ta6le)
  • MacOS X x86, nonthreaded (i3osx) and threaded (ti3osx)
  • MacOS X x86_64, nonthreaded (a6osx) and threaded (ta6osx)
  • Linux ARMv6 (32-bit), nonthreaded (arm32le)
  • Linux PowerPC (32-bit), nonthreaded (ppc32le) and threaded (tppc32le)
  • Windows x86, nonthreaded (i3nt) and threaded (ti3nt)
  • Windows x86_64, nonthreaded (a6nt) and threaded (ta6nt) [experimental]
(The source file has commented-out lines about OpenSolaris and various BSDs.)

-Philip

John Clements

unread,
Nov 12, 2020, 6:44:39 PM11/12/20
to phi...@philipmcgrath.com, Matthew Flatt, Racket Developers


> On Nov 12, 2020, at 3:37 PM, Philip McGrath <phi...@philipmcgrath.com> wrote:
>
> On Thu, Nov 12, 2020 at 6:09 PM 'John Clements' via Racket Developers <racke...@googlegroups.com> wrote:
> I just spent some time on the chez web page, and it’s astonishingly opaque; I can’t see any mention at all of what architectures it supports, which you’d think would be a front-page item for a native compiler.
>
> I think you want https://cisco.github.io/ChezScheme/release_notes/v9.5/release_notes.html, which says:
> • Linux x86, nonthreaded (i3le) and threaded (ti3le)
> • Linux x86_64, nonthreaded (a6le) and threaded (ta6le)
> • MacOS X x86, nonthreaded (i3osx) and threaded (ti3osx)
> • MacOS X x86_64, nonthreaded (a6osx) and threaded (ta6osx)
> • Linux ARMv6 (32-bit), nonthreaded (arm32le)
> • Linux PowerPC (32-bit), nonthreaded (ppc32le) and threaded (tppc32le)
> • Windows x86, nonthreaded (i3nt) and threaded (ti3nt)
> • Windows x86_64, nonthreaded (a6nt) and threaded (ta6nt) [experimental]
> (The source file has commented-out lines about OpenSolaris and various BSDs.)

Ah! Makes sense. So it sounds like the Aarch64 code is not yet part of the main repo.

Thanks,

John



Andre Garzia

unread,
Nov 20, 2020, 2:37:21 PM11/20/20
to John Clements, phi...@philipmcgrath.com, Matthew Flatt, Racket Developers
Hi,

Just to confirm that Racket v7.9 (regular version) is crashing when launching under rosetta 2.

Kind regards
Andre

--
You received this message because you are subscribed to the Google Groups "Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/1526ac41-f21a-42b3-92af-1d5b57d41cc0%40mtasv.net.


--
Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia

Paulo Matos

unread,
Nov 23, 2020, 5:26:37 AM11/23/20
to phi...@philipmcgrath.com, John Clements, Matthew Flatt, racke...@googlegroups.com

Philip McGrath writes:

> On Thu, Nov 12, 2020 at 6:09 PM 'John Clements' via Racket Developers <
> racke...@googlegroups.com> wrote:
>
>> I just spent some time on the chez web page, and it’s astonishingly
>> opaque; I can’t see any mention at all of what architectures it supports,
>> which you’d think would be a front-page item for a native compiler.
>>
>
> I think you want
> https://cisco.github.io/ChezScheme/release_notes/v9.5/release_notes.html,
> which says:

Please do not point to Chez's notes anymore.
I think Racket's fork of Chez is now different enough that it might not
be totally meaningful to check those notes.

RacketCS has aarch64 support and we have been testing it in CI for a
while.

--
Paulo Matos

Paulo Matos

unread,
Nov 23, 2020, 5:31:40 AM11/23/20
to John Clements, racke...@googlegroups.com

'John Clements' via Racket Developers writes:

> Goodness… Apple is changing processors again. Am I right in thinking that the support that Matthew added for Aarch64 early this year positions us unbelievably well for the transition to Apple silicon & specifically the M1 chip? Or maybe everyone but me already knew this was coming?
>
> John

This was known as far back as early 2020. Myself and Jesse discussed
attempting to port Chez to Aarch64 for this reason. However, this was in
the midst of other work, so without any real progress, later on Matthew
became interested (I suppose he hard about Apple Silion as well) and
developed a new backend for Aarch64 in a couple of weeks.

This is now being regularly tested in CI.
https://github.com/racket/racket/actions?query=workflow%3A%22ARM64+Linux+Fast+Build%22
https://github.com/racket/racket/actions?query=workflow%3A%22CI+Linux+ARM%22

Regards,

--
Paulo Matos
Reply all
Reply to author
Forward
0 new messages