3 ms·
Apple surely must run a lot of linux machines internally, I imagine it would be nice for them to have internal services written in swift
by photonbucket 4y ago
Apple surely must run a lot of linux machines internally, I imagine it would be nice for them to have internal services written in swift
- MBCook 4y agoThat’s my understanding of why it’s on Linux (besides the community). Apple uses tons of Linux servers, cloud and DC. Swift means they can write high performance networking stuff with memory safety and modern features in a language/library they already use internally instead of using yet another new language (or losing safety with C/C++/Obj-C). Makes a lot of sense to me.
- giantrobot 4y agoMost of the Linux machines inside Apple are tucked away in data centers, they're not sitting on engineers' desks (there's always exceptions). The people writing stuff that will run on Linux are usually writing in languages that are already cross platform. The stuff running on Linux inside Apple has a pretty good chance of being Java or Python (or Ruby for some teams). These languages are usually chosen for their ecosystem. There's not much of a Swift ecosystem except the proprietary one on macOS and iOS. Without all the frameworks available on macOS there's not a huge Swift ecosystem to leverage.