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.

Where Next?

Popular Ios topics Top

AstonJ
Are there any improvements you think Apple could make to make things easier?
New
AstonJ
Since a few of us seem to be interested in learning Swift, I wondered what languages or frameworks people are (or thinking about) pairing...
New
New
bot
Learn about iOS 14’s new group messaging features that make long conversations easier to manage with threads and how to add more personal...
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
New
backslash-f
And I wrote a review of it. Great job, @Paradox927! It’s a huge topic, but you did great IMO. I really enjoyed it. :+1:t2:
New
RustemAqtau
Hi! Do you use 3rd party UI inspector tools like Sherlock or Reveal? Which is better?
New
RustemAqtau
Hi! What books you recommend for mid/advanced level about iOS Development?
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

siddhant3030
I’m thinking of buying a monitor that I can rotate to use as a vertical monitor? Also, I want to know if someone is using it for program...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
PragmaticBookshelf
Rust is an exciting new programming language combining the power of C with memory safety, fearless concurrency, and productivity boosters...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
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
AstonJ
This looks like a stunning keycap set :orange_heart: A LEGENDARY KEYBOARD LIVES ON When you bought an Apple Macintosh computer in the e...
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
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
PragmaticBookshelf
Author Spotlight: Peter Ullrich @PJUllrich Data is at the core of every business, but it is useless if nobody can access and analyze ...
New