AstonJ

AstonJ

Which language or framework to pair with a Swift app?

Since a few of us seem to be interested in learning Swift, I wondered what languages or frameworks people are (or thinking about) pairing a Swift app with on the backend?

Are you sticking with something like Rails or Phoenix? Or opting to use one of Swift’s own frameworks, like Vapor or Kitura?

I wonder also if learning a Swift web framework might actually be a good way to learn Swift - since many of us are familiar with the workings of a framework and it might help us get our head around things?..

Most Liked

Korbin73

Korbin73

I would still use the framework that I have always used F# Giraffe/Suave. I know that logically it seems to make sense on paper to use the same language on the server as the client but I just don’t see the value proposition in practice. You can develop F# mobile apps with Xamarin but I still prefer Swift.

Since server programming is nothing like programming for the device I just don’t see the advantage. I have seen posts where people bring up that you can use models on both, but unless you type 5 words a minute that doesn’t really buy you anything. You won’t really be sharing anything of value between the client and the server since the problems you solve are very different.

At the end of the day I think the only advantage of having the same language on both is that you like the language and enjoy programming both on the client and server. And developer happiness is not something to be taken lightly, but I don’t see any real business value in it. Languages are so easy to learn with all the information out there, that using a single language just isn’t something that I would consider in a business context, only a hobby one.

AstonJ

AstonJ

Some of the reasons why I was thinking Swift on the server might be appealing to some:

  • As you mentioned, if Swift is someone’s favourite language that they want to use it everywhere
  • If someone is learning Swift, it might make sense to use it ‘as much as possible’ even if while learning it
  • Make use of custom hardware (see below)

I think it may only be a matter of time before Apple gets back into the server game - what could we do if we had dedicated Apple servers with chips like the A13?

A13 Bionic was built with a focus on machine learning, with a dedicated 8-core Neural Engine capable of 5 trillion operations per second, two Machine Learning Accelerators on the CPU and a new Machine Learning Controller to balance performance and efficiency. Together, A13 Bionic and iOS 13 enable new intelligent apps that make use of machine learning and Core ML.

Popular Ios topics Top

AstonJ
Are there any improvements you think Apple could make to make things easier?
New
AstonJ
September 15, 2020, at 10 a.m. PDT. Some speculation here:
New
AstonJ
New A14 chip, first 5nm chip in a mainstream device… In the space race that is CPU and GPU improvements, this is a groundbreaking st...
New
New
bot
Apple’s Swift has far-reaching effects on all platforms, not just iOS, OS X, watchOS, and tvOS. Learn why Swift matters, how to use the p...
New
First poster: bot
Apps on all of Apple’s app stores will now have to reveal what data they collect and what it is used for. Ultimately if the user is un...
New
AstonJ
Doesn’t have to be for coding, but just apps you’ve found useful; :smiley: I think this is great: The thing I like most about it is h...
New
malloryerik
Yeah I’m the kind of shmoe who gets excited about finding a new iOS Org Mode file viewer and editor. This one is done quite well, good fo...
New
RustemAqtau
Hi! Do you use 3rd party UI inspector tools like Sherlock or Reveal? Which is better?
New
RustemAqtau
How to convert time recurrence(daily, weekly, monthly, etc) to Rrule format and send to backend? Ex: "rrule": "FREQ=WEEKLY;BYDAY=MO,TU,W...
New

Other popular topics Top

dasdom
No chair. I have a standing desk. This post was split into a dedicated thread from our thread about chairs :slight_smile:
New
Exadra37
On modern versions of macOS, you simply can’t power on your computer, launch a text editor or eBook reader, and write or read, without a ...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
Rainer
Not sure if following fits exactly this thread, or if we should have a hobby thread… For many years I’m designing and building model air...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
New
AstonJ
Was just curious to see if any were around, found this one: I got 51/100: Not sure if it was meant to buy I am sure at times the b...
New
AstonJ
If you want a quick and easy way to block any website on your Mac using Little Snitch simply… File > New Rule: And select Deny, O...
New
New