4 ms·
> SDL only does so much, and you still need platform-specific APIs for file access, networking (if applicable), threading, etc. So you'll still need platform-sp
by iamcreasy 6y ago
> SDL only does so much, and you still need platform-specific APIs for file access, networking (if applicable), threading, etc. So you'll still need platform-specific code until someone writes those abstractions in Swift.
Isn't that handled by the swift runtime?
By without any changes I meant, without platform-specific recompilation. Very similar to what java runtime provides for JAR.
- mkl 6y agoYou'll always need platform-specific recompilation for native executables, as the executable formats are different on different operating systems. The only exceptions are emulation systems like WSL and Wine.
- iamcreasy 6y agoI should have added it to my first post - SDL provides precompiles libraries for different platforms. All I have to do is to distribute them with my game. Does it solve the problem?