Before swift became ABI stable on Apple platforms, swift programs when compiled would embed the swift standard library and when they would run they would use the objc runtime in that eco system. Now that swift has a staable ABI there is a separate swift runtime. Is a similar centralized runtime needed in Linux or Windows?
- Is it possible to build a swift binary for linux that does not require anything to be installed on the target OS before the binary can run?
- Is there a way I can embed the the swift runtime and standard library with in the binary?
https://www.quora.com/Can-applications-written-in-Swift-on-Linux-run-on-Linux/answer/Indrajit-Ghosh-33 The above quora entry says that all is needed is libswiftcore.so but this is from 2016.