uGitMe

uGitMe

The Push: September 27th, 2026

Windows games on iPhone, JavaScript as native binaries, and coding agents that finally act like a real team

Anshul Desai's avatar
Anshul Desai
Sep 27, 2026
∙ Paid

Madeira: PC Games Sneak Onto iPhone

github.com/willfaust/Madeira | License: GPL-3.0

An iPhone can edit 4K video, run console-quality games, and benchmark like a small laptop, yet the moment someone asks, “Can it run a Windows game?”, the answer usually collapses into cloud streaming or jailbreak hacks. Madeira goes after that absurd gap directly. This repo is not polished, and it definitely is not App Store-ready, but that almost makes the point sharper. Apple’s hardware has been wildly ahead of Apple’s software permissions for years, and Madeira treats that mismatch as an engineering problem worth attacking.

The Drop: Apple Hardware, Apple Handcuffs

Portable gaming has been split between two compromises for a while. Steam Deck gives access but not pocketability. iPhone gives pocketability but locks the box so tightly that “real” PC compatibility sounds like a joke. Madeira exists because neither answer is satisfying if the actual goal is simple: run x86-64 Windows games locally on a non-jailbroken iPhone.

That target sounds unreasonable until the pieces are laid out. Windows games expect one CPU architecture, one OS behavior model, and one graphics stack. iPhones offer none of those. Add Apple’s JIT restriction, where just-in-time code generation needs a debugger attached, and distribution becomes awkward by design. Add sideloading limits, weekly resigning on free Apple IDs, and the usual iOS sandboxing, and the friction starts looking less like a bug than a policy wall.

Madeira is a reaction to all of that. Not to make every game run perfectly, clearly not yet, but to prove that the hardware can do more than Apple officially allows. When titles like Thumper and ULTRAKILL become playable under those constraints, the interesting takeaway is not nostalgia. It is that the iPhone is much closer to being a general-purpose gaming computer than the platform rules admit.

The Stack: One Process, Many Translations

Under the hood, Madeira combines C, Objective-C, and Swift with a stack that includes Wine, FEX-Emu, and DXMT. Wine handles Windows compatibility, FEX-Emu translates x86-64 instructions to ARM64, and DXMT maps Direct3D 11 calls onto Metal.

Swift powers the iOS shell and input layer, while lower-level bridge code keeps the compatibility machinery tied into Apple’s app model. The repo is basically a cross-platform systems project wearing an iPhone app’s clothes.

The Sauce: The Single-Process Bet

Madeira’s defining move is single Mach process execution, where the Windows compatibility stack runs inside one iOS process and even wineserver becomes a thread instead of a separate process. That sounds niche, but on iOS it is the whole ballgame.

Apple’s sandbox is much friendlier to one app process than to a mini desktop OS hiding inside the phone. Traditional Wine setups assume process boundaries and looser host control. Madeira restructures that expectation so the translation layer, Windows runtime behavior, graphics bridge, and iOS app shell can coexist inside the narrow operating envelope iOS actually permits. That architectural choice reduces the amount of platform behavior that needs to be negotiated through boundaries Apple does not want crossed.

This matters because Madeira is not merely emulating a console ROM. It is stacking several compatibility jobs at once. ARM64EC support lets Wine participate in a mixed-architecture world more cleanly, FEX handles CPU translation for x86-64 code, and DXMT converts Direct3D expectations into Metal commands the iPhone GPU can execute. Input also needs reinterpretation, because touch and mobile controllers are not what Windows games were built for.

Honestly, the interesting part is not “Windows games on iPhone,” flashy as that headline is. The deeper idea is that Madeira turns iOS from a destination OS into a host for foreign execution environments, without jailbreak privileges. That is clever because it treats platform restrictions as constraints for systems design, not as a final answer.

The Move: Research Repo, Strategic Signal

Plenty of people will look at Madeira and see a hobbyist flex. Better read: this is an early signal for where mobile compute could become strategically weird. Anyone building mobile game tooling, sideloading utilities, alternative app distribution, or compatibility software should pay attention, because Madeira shows which bottleneck is policy and which bottleneck is physics.

Founders can use Madeira as a proof source when evaluating adjacent products. A launcher layer for imported PC titles on mobile, a debugging and JIT-enablement workflow, a compatibility database for touch mappings, or a cloud-assisted setup service all start to feel less speculative once local execution is demonstrably possible. Researchers can also use the repo to study how cross-architecture translation, graphics remapping, and sandbox-aware process design behave under severe platform limits.

Consumers are not the immediate user here, obviously. The near-term advantage goes to teams mapping the gray zone between Apple’s official product surface and Apple’s actual hardware capability. When a repo like this gets rough gameplay running on stock iPhones, it creates negotiating power. Hardware vendors, regulators, emulator makers, and storefront challengers all get a sharper argument: the demand is real, the device can handle it, and the remaining barriers are mostly institutional.

The Aura: Computing Wants to Be Portable Again

People have started accepting that a device can be powerful and still strangely narrow. Madeira pushes against that resignation. Once a phone can host software ecosystems it was never meant to host, ownership starts meaning something heavier than customization.

That changes user expectations. A handset stops being just an appliance with premium silicon and starts looking more like a personal computer with political restrictions. There is a subtle but important psychological shift there. Users stop asking, “What does Apple allow this thing to do?” and start asking, “What can this hardware actually support?” That question has a long half-life.

The Play: Compatibility as Wedge, Not End State

Madeira is not a polished product, so this is not PMF in the consumer sense. But as a 0-to-1 technical wedge, it is compelling. TAM is broader than mobile gaming alone, because the same architecture pressure touches app portability, alternative distribution, and on-device compute freedom. At 764 stars, the signal is still early, but the repo’s existence, playable titles, and fork-heavy systems work suggest authentic pull from a technically serious niche. The moat is not data. It is execution speed, platform-specific know-how, and credibility earned by making hostile constraints bend.

Winners:

  • Skich: Alternative iOS app distribution gets more believable when local compatibility layers prove that mobile demand extends beyond native App Store binaries.

  • Aptoide: Sideloading infrastructure compounds in value if users increasingly want software Apple would never ship, including gray-area gaming runtimes.

  • Valve: Steam’s library advantage gets stronger every time another device class edges closer to running PC games without a bespoke port.

Losers:

  • Antstream Arcade: Cloud-retro convenience loses appeal if local execution on phones keeps improving and sideloaded experiences feel less compromised.

  • Backbone: Accessory differentiation erodes if the real unlock becomes software compatibility rather than better physical controls around locked-down mobile games.

  • Apple: Platform control gets harder to defend when independent repos show flagship iPhones can handle workloads the company still treats as off-limits.

tl;dr

Madeira turns a non-jailbroken iPhone into a rough but real host for x86-64 Windows games by combining Wine, CPU translation, and Direct3D-to-Metal remapping inside one iOS-friendly process. That single-process design is the smart bit. Anyone tracking mobile gaming, sideloading, or alternative software distribution should look.

Stars: 764 | Language: C

User's avatar

Continue reading this post for free, courtesy of Anshul Desai.

Or purchase a paid subscription.
© 2026 Anshul Desai · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture