News for hackers. Stuff that matters.
Re:Swift Server Work Group Annual Update by Eric_WVGG on Thursday October 31, 2019 @05:06PM (#21413719)
> 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.)

Re:Swift Server Work Group Annual Update by scarface74 on Thursday October 31, 2019 @05:08PM (#21413726)
So instead of a specific example you want us to go to a random discourse channel?
Re:Swift Server Work Group Annual Update by veidr on Thursday October 31, 2019 @06:24PM (#21414406)
But 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.)