←back to thread

402 points _JamesA_ | 1 comments | | HN request time: 0s | source
Show context
PaulHoule ◴[] No.44381245[source]
Might be unfair to call Proton a "translation layer" because the Win32 API is not defined in terms of system calls but rather a set of functions exported from a DLL.

Proton supplies a DLL that implements the Win32 API using Linux syscalls. Windows supplies a DLL that implements that Win32 API using Windows syscalls that you're not really supposed to use directly.

replies(7): >>44381329 #>>44381882 #>>44382143 #>>44383220 #>>44385052 #>>44385780 #>>44386176 #
homarp ◴[] No.44381329[source]
https://www.winehq.org/ calls it a compatibility layer that translates calls on the fly.

so 'translation layer' is not that unfair.

replies(2): >>44381688 #>>44385909 #
Sammi ◴[] No.44385909{3}[source]
Clearly they don't want to come out and say that Wine is an "implementation of windows apis", because that would invite legal issues. But clearly this is what Wine really is for a large part. Some stuff are just shallow shims to Linux apis, while other stuff they need to make more of their own implementation of.
replies(1): >>44388673 #
1. WorldMaker ◴[] No.44388673{4}[source]
"WINE Is Not an Emulator" has always said something exactly like that. It hasn't exactly been a "secret" that Wine is an implementation of Windows APIs (and not an emulator/translator).