<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Arm64EC: Microsoft's emulation Frankenstein</title>
        <link>https://peertube.watch/videos/watch/0ba902c7-4381-49c3-ad94-3d8705c1b1e0</link>
        <description>Arm64EC ("Emulation Compatible") is Microsoft's latest answer to emulating x86_64 on arm64, allowing code from both architectures to coexist in a single address space, so that an application can be incrementally ported from x86_64 to arm64. I'll cover what Arm64EC is, postulate on why it is the way it is, and lessons learnt from porting LuaJIT to it. What if there was a CPU (and associated C toolchain) capable of executing both x86_64 and arm64 instructions, cheaply switching back and forth at any function call boundary? While there isn't such a thing, Arm64EC emulates such a CPU - any x86_64 code is emulated, and any arm64 code needs to contort itself slightly to allow cheap switching in to and out of the emulator. The result is something of an emulation Frankenstein, but just maybe it'll help adoption of Windows on arm64. Speaking about a Windows feature at an open source event might seem initially odd, but things can be intellectually interesting regardless of origin, and open source tooling such as Wine and LLVM have started to add some support for it, and open source developers might want to port their applications to it (as I have done for LuaJIT). Related resources: * Out of tree LuaJIT support for Arm64EC * My Arm64EC ABI notes Note that I have no association with Microsoft or with ARM. Speaker: Peter Cawley, Track: Emulator devroom, Room: UB5.230, When: Sunday 4 February 2024, 12:00–12:45 (Brussels time), Schedule: FOSDEM 2024 event page, Slides &amp; links Slides, Slides with notes, Licence: Creative Commons Attribution 2.0 Belgium (CC BY 2.0 BE) (as stated in the FOSDEM video archive). Attribution: “Arm64EC: Microsoft's emulation Frankenstein” by Peter Cawley, FOSDEM 2024. Original recording: 2024/ub5230/fosdem-2024-1762-arm64ec-microsoft-s-emulation-frankenstein.av1.webm from the FOSDEM video archive. This channel is an unofficial mirror; FOSDEM is a free and non-commercial event organised by the community for the community.</description>
        <lastBuildDate>Thu, 29 Oct 2026 05:31:12 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://peertube.watch</generator>
        <image>
            <title>Arm64EC: Microsoft's emulation Frankenstein</title>
            <url>https://peertube.watch/lazy-static/avatars/3b284627-b75f-409e-ac2e-10f4c2946f43.png</url>
            <link>https://peertube.watch/videos/watch/0ba902c7-4381-49c3-ad94-3d8705c1b1e0</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://peertube.watch/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://peertube.watch/feeds/video-comments.xml?videoId=0ba902c7-4381-49c3-ad94-3d8705c1b1e0" rel="self" type="application/rss+xml"/>
    </channel>
</rss>