Release a platform agnostic "base" Swift implementation for servers

Originator:christoffer
Number:rdar://17198293 Date Originated:06-Jun-2014 04:26 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 6.0 (6A215l)
Classification: Reproducible:Always
 
Summary:
Most iOS / OS X networked games / applications are backed by servers running on virtual linux machines.

For that reason, servers are generally written in Java, Python, Javascript or Ruby or some other fairly easily portable language.

Although it is possible to set up OS X Server and run an ObjC server, there are problems both with available hosting services and lack of sys admins with OS X skills.

The problem having Objective-C on one end and Jave/Python/JS/Ruby on the other, is that lots of protocol and networking code has to be written twice. There's also no way to leverage some of the nicer features in Cocoa that otherwise would speed up development.

For Objective C there is GNUStep, but not being maintained by Apple, it's always a worry that incompatibilities will arise.

With Swift, I hope that you can create a solid *SERVER DEVELOPMENT* port of Swift. Aside from Swift we would need part of the Cocoa library, but the entire UI part could be cut out.

In other words, it's the Swift language + a subset of Cocoa (similar to what you'd need for a command line cocoa application)

This would boost both the Swift language and ease development of networked apps.

Steps to Reproduce:
1. Try to compile Swift on linux

Expected Results:
Swift is available and compilable of Linux

Actual Results:
Swift is not available for compilation on Linux.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!