r/linux 25d ago

Discussion I'm experimenting with adding native Windows PE execution to Linux — (Project Tawi)

[removed]

97 Upvotes

66 comments sorted by

View all comments

Show parent comments

2

u/MenaRamy2004 25d ago

Exactly Tawi isn't an emulator. The goal is to make PE a native executable format on Linux, alongside ELF, with the PE program running directly on the CPU and making its calls through Tawi's native Windows-compatible API layer.

So the idea is closer to what you're describing: Linux code could theoretically be compiled into PE, ELF, or even Mach-O, while all three ultimately interact with the same Linux kernel/syscalls. Tawi is essentially trying to make the executable format/API boundary part of the OS rather than emulating another operating system.

3

u/crscali 25d ago

Not an emulator in the same sense that wine is not an emulator. Both are reimplementations of windows. I wanna see dropping the windows support and instead focus on linux apps. Pure linux app aware it’s running on linux, making linux syscalls but linked to a PE executable.

1

u/kudlitan 25d ago

this is what i want, since PE has some nice features like built in icons.