4 ms·
> easy on macOS afaik macOS currently targets two architectures. just how smooth is the apple silicon ride, i wonder?
by kelas 3y ago
> easy on macOS
afaik macOS currently targets two architectures. just how smooth is the apple silicon ride, i wonder?
- inferiorhuman 3y agoMy experience has been that in general LLVM + Rust do a very good job of making cross compilation painless. There is unpleasantness when cross compiling from an Apple host, but that's almost entirely limited to actually compiling rustc and some of the host tools. In terms of smoothing those edges over I think most of the patches I've submitted will land in 1.73 or 1.74. With that in mind if rxv64 is easy enough to build on an Intel Mac, then it should do fine on an ARM Mac as well. Obviously if you're talking about porting rxv64 to an ARM host, that's a whole different ball of wax.
- anta40 3y agoNo idea how to do it on ARM MacOS, I'm still on Intel. Here's how to built it (had some discussions with the author on Twitter): https://gist.github.com/anta40/4625d6a2752551aada9c91a72e787038 https://gist.github.com/anta40/4625d6a2752551aada9c91a72e787... Done. Will try on M2 Mac probably in the next 2 weeks
- fulafel 3y agoIt's targeting just amd64, so depends on how smooth you consider emulating it on ARM to be. (eg https://github.com/dancrossnyc/rxv64/blob/main/kernel/src/swtch.S https://github.com/dancrossnyc/rxv64/blob/main/kernel/src/sw... )