ARM64 port successfull!
ARM64 port successfull!
Hi,
Today I've managed to port AutoHotkey to Windows on ARM64. It runs successful on my Asus NOVAGO and on my MacBook Air M1 with Parallels.
I've made an arm64 branch on a local github clone.
What is the best way to share my code to with this community?
It probably needs some more testing. But DllCall and RegisterCallback do work right in my test case.
Today I've managed to port AutoHotkey to Windows on ARM64. It runs successful on my Asus NOVAGO and on my MacBook Air M1 with Parallels.
I've made an arm64 branch on a local github clone.
What is the best way to share my code to with this community?
It probably needs some more testing. But DllCall and RegisterCallback do work right in my test case.
Re: ARM64 port successfull!
github seems like as good a place as any
Re: ARM64 port successfull!
pull request is ready!
Re: ARM64 port successfull!
Here is the ARM64 executable: https://github.com/fobrs/AutoHotkey_L/releases/tag/v1.1.33.10
Re: ARM64 port successfull!
Awesome!
I'm surprised that not more people are testing it out. Though the whole Windows on ARM has been a kind of strange place. That Asus NOVAGO running Windows 10, using a Qualcomm Snapdragon, claims 22 hours of battery life. Quite impressive. Other laptops using the Qualcomm Snapdragon are out there for pretty cheap. It's rumored that the upcoming Windows Surface Duo 2 (also Qualcomm Snapdragon) might run Windows 11. Meaning your port of AutoHotkey would finally bring it to a mobile phone type device.
Shouldn't this alternate release be posted on "Scripts and Functions"? "Wish List" kind of seems like a strange place.
I'm surprised that not more people are testing it out. Though the whole Windows on ARM has been a kind of strange place. That Asus NOVAGO running Windows 10, using a Qualcomm Snapdragon, claims 22 hours of battery life. Quite impressive. Other laptops using the Qualcomm Snapdragon are out there for pretty cheap. It's rumored that the upcoming Windows Surface Duo 2 (also Qualcomm Snapdragon) might run Windows 11. Meaning your port of AutoHotkey would finally bring it to a mobile phone type device.
Re: ARM64 port successfull!
windows 10 supposedly has both x86 and x64 emulation, so wouldnt ahk(the DllCalls specifically) already work by default? i dont have arm devices to test with
Re: ARM64 port successfull!
Microsoft came out with a viable x64 emulator for ARM only a year or so ago. Even with the emulator, it's supposedly hit or miss. Like you, I don't have a Windows on ARM computer to test such out. Hopefully and eventually, some AHKer who does will come along and tell us what they think.
I'm eyeing the Windows Surface Duo 2, as the prospect of having a dual booting Android and Windows mobile device or the ability to have a mobile device that runs Windows 11 and could also run android applications (even if virtually) is intriguing. Supposedly, Windows 11 will have the ability to run Android apps directly. This could be the Microsoft move to slow down Android's encroachment on Desktops and Laptops, while allowing them to push Windows mobile devices without forcing users to give up their Android apps. It will be interesting if this move will allow Microsoft to become viable in the mobile space, or will backfire and increase the proliferation of Android with their apps starting to overwhelm the Desktop space too.
Re: ARM64 port successfull!
I want to make sure it can be run successfully in ARM so that I can decide to buy Macbook Pro 2021 or not. This command is important to me. Please help me.
And if it doesn't, can you suggest an alternative program on Mac that brings the same result? Thank you so much!
And if it doesn't, can you suggest an alternative program on Mac that brings the same result? Thank you so much!
Last edited by Raien on 19 Jan 2022, 09:45, edited 1 time in total.
Re: ARM64 port successfull!
if ure asking whether ahk would run on macOS, it wont. what this port is doing is fixing the DllCall asm(parameter passing, ordering, results retrieval, etc) so its compliant with the ARM64 architecture. but u still need Windows to run it
Re: ARM64 port successfull!
@ferdo I have run into an error using classic AHK installs (for intel chip) running on Windows 11 on arms on Parallels.
The error is related to Windows Update Check. My other AHK code works great with Win11 on arms x64 emulation, only this have problem.
viewtopic.php?f=76&t=101922&p=453129#p453129
Maybe this can be a good test/fix to look into?
The error is related to Windows Update Check. My other AHK code works great with Win11 on arms x64 emulation, only this have problem.
viewtopic.php?f=76&t=101922&p=453129#p453129
Maybe this can be a good test/fix to look into?
-
- Posts: 19
- Joined: 20 Mar 2020, 14:49
- Contact:
Re: ARM64 port successfull!
Hey
there is a new AHK version available... just in case you want to catch up your release .
Best
Hauke
there is a new AHK version available... just in case you want to catch up your release .
Best
Hauke
Re: ARM64 port successfull!
Windows Dev Kit 2023 aka Project Volterra @ https://blogs.windows.com/windowsdeveloper/2022/10/24/available-today-windows-dev-kit-2023-aka-project-volterra/
Windows Dev Kit 2023 is an Arm-powered device built by Windows developers for Windows developers. Everything you need to develop Windows apps for Arm, on Arm. Powerful AI. All on one device.
Re: ARM64 port successfull!
If anybody's interested, I compiled 1.1.37.01 with these patches, both main executable and self-contained (for use with ahk2exe).
Re: ARM64 port successfull!
Hi There,
Thanks for compiling it for ARM. I did try it but get an error
Script file not found: Home\Documents\AutoHotkeyUAArch64.ahk
Greetz.
Thanks for compiling it for ARM. I did try it but get an error
Script file not found: Home\Documents\AutoHotkeyUAArch64.ahk
Greetz.