TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ARM64EC (and ARM64X) Explained

117 pointsby kohlschuetterabout 1 year ago

8 comments

ack_completeabout 1 year ago
This doesn&#x27;t seem to mention the overhead that ARM64EC imposes on indirect calls. Indirect calls are required by the ARM64EC ABI to use a CFG-like check against the architecture bitmap, adding overhead to both function pointers and virtual calls: <a href="https:&#x2F;&#x2F;gcc.godbolt.org&#x2F;z&#x2F;8aT793GMf" rel="nofollow">https:&#x2F;&#x2F;gcc.godbolt.org&#x2F;z&#x2F;8aT793GMf</a><p>This is explained in the docs: <a href="https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;arm&#x2F;arm64ec-abi" rel="nofollow">https:&#x2F;&#x2F;learn.microsoft.com&#x2F;en-us&#x2F;windows&#x2F;arm&#x2F;arm64ec-abi</a><p>&gt; Call checkers are optional on all other Windows ABIs, but mandatory on Arm64EC. On Arm64EC, call checkers accumulate the task of verifying the architecture of the function being called. They verify whether the call is another EC (“Emulation Compatible”) function or an x64 function that must be executed under emulation. In many cases, this can only be verified at runtime.
评论 #39811840 未加载
评论 #39809878 未加载
PreInternet01about 1 year ago
This is pretty cool: basically, recent ARM extensions make emulation of just about anything <i>a lot</i> easier.<p>Which got me to wonder: what if Apple were able to introduce a &quot;MacOS subsystem for Windows&quot;, which could run most x64 binaries for the latter platform?<p>The only app that keeps me from switching to my M3 MacBook full-time is Visual Studio (and Mikrotik WinBox, to some extent, but that runs just fine under Wine).<p>If I could run VS without tanking battery life, that would be sort-of huge...
评论 #39810783 未加载
评论 #39808815 未加载
评论 #39808119 未加载
评论 #39808395 未加载
评论 #39812925 未加载
garaetjjteabout 1 year ago
That&#x27;s clever trick but I think it is a mistake in the long run. It removes incentives from putting effort into compiling all libraries as native code, instead effectively fossilizing x86_64 as another weird vestigal part of Windows applications.
评论 #39809473 未加载
评论 #39822429 未加载
评论 #39810972 未加载
评论 #39811366 未加载
ngcc_hkabout 1 year ago
The hybrid approach is interesting. But to me the author is more. How can one work for office 98 is still around as a program lead for such low level programming job. Had he been kicked upstairs becomes a manager and how is the salary compensation work. Just wonder for such in depth and occasional history chip in work.<p>After reading the end I found the answer … you do have issue for such long career. God blessed.<p>“ When I was still at Microsoft in 2022 I was arguing the case that it was time to implement AVX and AVX2 across the board, but I failed to convince management or my peers of the urgency of this proposal.”<p>Anyhow, the dance around of code and directories make me think of the different in philosophy and trade off of time and space a lot. Once again good read.
snvzzabout 1 year ago
I hope Microsoft does not plan on violating LP64D[0] on its RISC-V port.<p>0. <a href="https:&#x2F;&#x2F;github.com&#x2F;riscv-non-isa&#x2F;riscv-elf-psabi-doc&#x2F;blob&#x2F;master&#x2F;riscv-cc.adoc">https:&#x2F;&#x2F;github.com&#x2F;riscv-non-isa&#x2F;riscv-elf-psabi-doc&#x2F;blob&#x2F;ma...</a>
kohlschuetterabout 1 year ago
In-depth explanation how Windows 11 improves interoperability of x86_64 and arm64 code under emulation.
freeqazabout 1 year ago
Hug of death. Anybody got a mirror?
评论 #39809186 未加载
dmitrygrabout 1 year ago
This approach was exceptionally well thought-through and it shows.