Is there an installer for the Swift compiler for Windows 11 on ARM which is as easy to use as for Intel?
I wish the answer were yes, but unfortunately not yet. We just are updating to WiX 4 now which is a prerequisite for building the MSI/Installer for ARM64.
Sadly, it turns out that there is some issue in the ARM64 runtime that I’ve not yet been able to isolate that is causing trouble at runtime due to invalid memory accesses.
I am rather excited about having the toolchain natively on ARM64 on Windows as well, but trying to clean up as much as possible on x64. I’d welcome help to get the ARM64 tests fully passing
Out of curiosity, what exactly were you intending to use this for? I wonder if there is another way to address the use case in the shorter term.
The use case would be development with Swift for Windows on a Windows 11 VM on Macs with Apple Silicon. We already use Visual Studio for ARM on it and it is very usable. While my main work is on macOS, we also have the need to compile for Windows.
Ah thank you for verifying that. It is one of the items that I am interested in seeing sooner rather than later as it would generally be beneficial to get the ARM64 port rolling
I add my voice on the need to have Swift for Windows ARM.
Although Swift on Windows currently only supports x64 I have been successfully building my Swift projects on Windows ARM since Windows 10 ARM and now Window 11 ARM using Parallels Desktop on macOS with M1 (not counting also Linux ARM...). The resulting x64 code runs well on Windows ARM (thanks to the Windows x64 emulation layer) and therefore meets our current customer needs, but I would also like to be able to generate for Windows arm64 natively soon.
Thanks.
Same here, the current x86 build works well on ARM.
I suspect the builds to take longer since all code is compiled/run as x86.
So having native ARM support would be great.
Yes, ARM64 is an important target to support. However, there are plenty of things that are still missing on the x64 side as well. ARM64 support is getting better, and while we do not have official builds available yet, it is getting reasonably possible. I have been running a native ARM64 toolchain on Windows for a while. There are some more issues to be ironed out with the toolchain, and we still need to iron out how to provide official builds for them.