gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etienne delacroix: Precisions on the forth SWIG architecture: return


From: Anton Ertl
Subject: Re: etienne delacroix: Precisions on the forth SWIG architecture: return by value structs
Date: Mon, 12 Jun 2023 22:57:02 +0200

On Mon, Jun 12, 2023 at 08:10:55PM +0200, Francois Gallois wrote:
> On Mon, Jun 12, 2023 at 06:52:35PM +0200, etienne delacroix wrote:
> > thanks for presenting this problem.   I have been very much wanting to use
> > gforth to do graphics, but since my intel Mac got stolen I have problems
> > installing the latest. gforth.  only. the.  0.7.3 is working on the M1

Last I tried it, development Gforth worked fine on Asahi Linux on a
MacMini with M1.

As for MacOS, unfortunately on ARM MacOS has a reduced-functionality
mmap() (compared to Mac OS on Intel, and also compared to Linux).  I
spent a day last summer trying to work around that shortcoming, but
time ran out before I had the solution, so now MacOS has to wait until
I can find some more time to spend on it.  The workaround will also
slow MacOS down compared to Linux.

One thing I wonder about and may investigate eventually is if
https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/gforth.bin.x86_64-apple-darwin20.2.0.tar.xz
works without workarounds. If so, if it be slower or faster on the M1
compared to the ARM version with workarounds.

I expect that the dynamic linking you are looking for will not be easy
when using an Intel binary on an ARM Mac.

- anton



reply via email to

[Prev in Thread] Current Thread [Next in Thread]