3 ms·
> And what server side code “behaves differently” [mean] Spend a bit of time on the Vapor Discord channel and read about all the quirks Linux users have to dea
by Eric_WVGG 7y ago
> And what server side code “behaves differently” [mean]
Spend a bit of time on the Vapor Discord channel and read about all the quirks Linux users have to deal with that the rest of us don’t.
(My impression is that it’s due to Foundation libs.)
- scarface74 7y agoSo instead of a specific example you want us to go to a random discourse channel?
- veidr 7y agoBut that _is_ true: the Foundation library — which because Swift has a super small core library is really kind of critical to basically any kind of program — behaves differently on Linux. I write Swift code that runs on Linux and also on macOS or iOS, and we frequently have to have sections of "if Linux, run this code, else run this other code". And while that's trivial to write, it's not trivial to find all the places where you have to do that. (Nevertheless, I like Swift a lot and am using it on Linux.)