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
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
AstonJ
September 15, 2020, at 10 a.m. PDT. Some speculation here:
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
AstonJ
New iPhones incoming… probably with 5G. Any other guesses? Anyone going to be watching it? 10 AM PDT 5 PM GMT 6 PM UK
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
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
Hi! What books you recommend for mid/advanced level about iOS Development?
New

Other popular topics Top

Devtalk
Reading something? Working on something? Planning something? Changing jobs even!? If you’re up for sharing, please let us know what you’...
1032 17402 381
New
AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
Exadra37
Please tell us what is your preferred monitor setup for programming(not gaming) and why you have chosen it. Does your monitor have eye p...
New
AstonJ
SpaceVim seems to be gaining in features and popularity and I just wondered how it compares with SpaceMacs in 2020 - anyone have any thou...
New
AstonJ
poll poll Be sure to check out @Dusty’s article posted here: An Introduction to Alternative Keyboard Layouts It’s one of the best write-...
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
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
PragmaticBookshelf
Author Spotlight Mike Riley @mriley This month, we turn the spotlight on Mike Riley, author of Portable Python Projects. Mike’s book ...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New