Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

33% Positive

Analyzed from 145 words in the discussion.

Trending Topics

#atari#cross#linux#windows#zynq#mac#wails#issue#apple#compilation

Discussion (2 Comments)Read Original on HackerNews

spacedcowboyβ€’about 2 hours ago
Not that this has much to do with Wails, but taking issue with the author's point about Apple not allowing cross-compilation... I don't think Apple gets a say in how cross-compilation should work, really.

I have a language[1] I (and Claude) have written which compiles to any of:

- arm64 (MacOS)

- x86_64 (Linux)

- win64 (Windows)

- arm9 (Zynq)

- m68k (Atari ST)

- 6502 (Atari XL)

... Any of the {windows, Linux, Mac} compilers can produce binaries for any target, it's self-hosting, and basically a clone of Objective C but without all those [[[brackets]]].

It was originally written to allow me to write reasonably modern (classes, protocols, ARC memory management, ...) code on the Zynq A9's, and the Atari machines running on that Zynq. It became fairly obvious that the debug cycle would be a lot faster on the native Mac, and once you have a compiler that can target an 8-bit 6502 all the way up to a 64-bit Arm, porting it to Linux and Windows wasn't that big of a deal.

Anyway, cross-compiling to Mac shouldn't be an issue, is what I'm really saying.

[1]: https://atari-xt.com/compiler/

cissikattβ€’about 2 hours ago
We are on Wails 3 now so not super relevant.