this post was submitted on 28 Mar 2024
761 points (97.4% liked)
linuxmemes
20880 readers
7 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
deep inhale
WINE IS NOT AN EMULATOR
It is a translation layer. All it's doing is intercepting syscalls embedded in the executable process by presenting what looks like an interface for the kernel it is trying to call, but is actually a translation layer to the true host kernel, mapping the Windows syscalls to their near-equivalent for the Linux kernel. This differs from emulation as the calls are being translated at a higher level whereas emulators translate the low level machine code sent to the processor.
So Proton and Wine essentially just pretend to be the core Windows processes and services a Windows environment provides to applications. It's a Windows interface to a Linux kernel on the backend. And virtually every syscall on Linux will always be faster than on Windows/NT. So you get faster syscall responses with a neglible and wholly insubstantial added overhead that I would reckon is hard to quantify because it is in fact so damn small that the only way I can think of to observe it is to attach a debugger, which slows down the application process notably so that human's can peer into the execution stack.
TL;DR: no, Windows applications have theoretically been faster on Linux than they ever were on Windows since Wine's inception.
I think you mean:
Wine is not an emulator ^is ^not ^an ^emulator ^^is ^^not ^^an ^^emulator ^^^is ^^^not ^^^an ^^^emulator ^^^^is ^^^^not ^^^^an ^^^^emulator ^^^^^is ^^^^^not ^^^^^an ^^^^^emulator ^^^^^^.......
really did not expect today to be my turn to recite the infamous WINE homily. Whoever sends out the t-shirts, I'm a men's x large, hopefully there are still some of that size unclaimed
Thanks for the information, no need for the deep inhale lol.
In case you're unaware, the "deep inhale" is because that phrasing is historically tied to the WINE project, as per their website (winehq.org):
And at this point it's like a 10-year old meme (if not 20) to bring it up when someone may seem unaware of the distinction between emulation and what Wine does.
It is a bit tired of a reference, and I imagine somewhat off-putting of a response to receive when you don't know the reference yourself. The acronym is in the spirit of the GNU one ("GNU's Not Unix"), and as the other commenters have explained the fact that wine does something different than emulation is very relevant when you get into the nitty-gritty details, so it has extra sticking power in terms of memes in linux/foss communities.
This exactly. I'd had a long day and never before had the opportunity to be first in a thread to reply with "Wine Is Not an Emulator", so I got over-excited and typed that all out so I could get that sweet dopamine rush.