by jart on 6/24/24, 3:29 AM
Wow! This might actually make it possible for Actually Portable Executable to support running on Windows ARM. I'm already putting the ARM code inside all my binaries. There's just never been a way to encode that in the PE headers. But if my emulated WinMain() function for x86-64 could detect that it's being emulated and then simply ask a WIN32 API to jump to the ARM entrypoint instead, it'd be the perfect solution to my problems. I actually think I'm going to rush out and buy a Windows ARM computer right now.
by Aissen on 6/24/24, 7:10 AM
by classichasclass on 6/24/24, 3:12 AM
by userbinator on 6/24/24, 3:56 AM
Windows 9x can run 16-bit realmode (V86), 16-bit protected mode, and 32-bit protected mode code in the same process by using different segment descriptors. Too bad amd64 wasn't compatible with that model, nor the virtualisation features that came afterwards, or Intel could've made ARM32/64-mode segments a reality if they decided to add an ARM decoder to their microarchitecture.
by sylware on 6/24/24, 1:49 PM
Funny, I started to code some of my linux x86_64 programs... using RV64 assembly (the new C), with a small in-process RV64 assembly interpreter.
Everything seems to converge more and more toward RISC-V these days.
by Symmetry on 6/24/24, 2:39 PM
Sounds similar to what NVidia was doing with their Project Denver cores, using a mix of emulated ARM and native VLIW instructions with gradual compilation from one to another.
by frozenport on 6/24/24, 4:40 AM
Struggling with the use case.
It seems like this is when you have the source or the libs but choose to mix x86 and arm?
It would seem if you have the source etc you should just bite the bullet and port everything.
by Tempest1981 on 6/24/24, 7:34 AM
> requires the use of the Windows 11 SDK and is not available on Windows 10 on Arm.
So what should developers do re: Win10 users? Separate builds for them?
by spullara on 6/24/24, 5:29 PM
How is this different than what Apple did for the x86 -> ARM transition?
by nomercy400 on 6/24/24, 7:02 AM
So is this Arm64EC Windows-only? Is it standardized?
If not, is this not just another target architecture? You cannot use it on arm64 architectures, and your app already supports x86.