by saagarjha · 6y ago · 0 comments
Apple’s proprietary extensions don’t really affect porting efforts except in one specific case when writing high-performance JITs for language runtimes. (And there is a fairly simple patch to disable this entirely.)
I'm not sure what's preventing you from giving a direct & specific answer. As it would be useful to know where Rust/Go's toolchains fail for using the code for cross - platform applications.
Go team was already working on getting the toolchain to work on darwin/macOS before Apple announcement[1] because GOOS=darwin meant iOS(gomobile) and there are instructions available now[2] to build it successfully before the official patches. Your test results there would be a valuable contribution.
>Some warnings that will probably be problematic at the future related to the ABI defining char to be signed
You mean unsigned char? that's a common hurdle while porting x86 code to ARM.
[1]https://github.com/golang/go/issues/38485
[2]https://gist.github.com/tonistiigi/290d2e7118fe6f581e336bf35...
For instance, GCC is not ready and no one really knows when it will support desktop Darwin on AArch64 (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96168#c6)