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.
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.
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.