frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Why hasn't Swift gained wider adoption for backend?

7•grandimam•8mo ago

Comments

xp84•8mo ago
I would compare to other languages which share a primary trait, namely 'Invented by and backed by big proprietary closed-source-specialist company.'

Take C# for instance: Microsoft has a rich history of being very serious about the enterprise, and was there on the ground floor of the '.com' days with popular server software. MS leveraged knowledge developers had writing Visual Basic with VBS and also Jscript, a JS variant, to popularize ASP, then convinced people to move to C# which let you do both server and desktop with the same knowledge. And all this ran on the Microsoft server OS, a popular product, out of the box.

Let's compare this with Swift. Apple has never, ever been serious about the enterprise, hasn't sold any servers during its whole lifetime, and while I'm sure you can run server side Swift on a real Linux server instead of just a Mac, its relative newness (newer than every popular language but Kotlin) means there would need to be an affirmative reason, a big tangible benefit, to convince anyone to either switch, or to start their whole career/company with Swift without ever learning anything else. Much the opposite in my humble opinion - you have Apple treating developers poorly with their aggressive rent-seeking behavior. I would never want to ditch another language that isn't controlled by one firm, to work on a platform that, though nominally 'OSS,' exists purely for Apple's benefit and is controlled by them.

Server-side Swift has one thing going for it: You can leverage your skills gained making iOS native stuff. Unfortunately, it seems to me that few companies besides indie 'Apple-only' devs even want to use 'iOS Swift' since it's limited to Apple platforms and most companies want cross-platform mobile apps. So the number of people out there who are 'Swift experts' and would find that to be the most compelling server-side environment is utterly dwarfed by people who have that level of mastery of JS, Python, Java, C#, Kotlin, PHP, Ruby, Go, etc. Which is of course a Catch-22, 'nobody uses server-side Swift because it's not popular enough to support a great community.'

To kick off a new project with a Swift backend would be to say "I trust Apple unconditionally, and also I have no intention of ever needing to hire anyone to help with this."

mattmanser•8mo ago
https://en.m.wikipedia.org/wiki/Mac_OS_X_Server
xp84•8mo ago
But that was dead by the time Swift came out. I apologize for my poor wording.
john_the_writer•8mo ago
I like the last bit. Hiring would be a nightmare. Most serious BE dev (myself included) don't have time to learn a new language that I can only use at a handful (or single company). I want the language I spend the most time with to be something I could take to a recruiter (should I need to).

I worked at a place that worked with Delphi, and for various reasons I had to use it exclusively for a few years. No recruiter would touch me. Not until I got some time with Rails did I have a chance to escape.

As a former mobile dev, I'd also like to add, being an app dev vs BE dev isn't just about the code either.. It's a very different way of looking at problems. The skills might transfer, but they're living in different worlds. The language isn't the only obstacle.

tssva•8mo ago
" Apple has never, ever been serious about the enterprise, hasn't sold any servers during its whole lifetime,"

Apple has most definitely sold servers during its lifetime. The Xserve line for example.

xp84•8mo ago
Excuse me, I worded it super poorly. I meant Swift's whole lifetime. The Xserve was long dead. I once "sold" XServes (was trained to, but nobody ever bought one from me) at Apple Retail.
benoau•8mo ago
Might make sense if you're an app developer but outside of that, even within that TBH, it's pretty niche.
manter•8mo ago
Swift is tightly bound to the Apple ecosystem (even though it can run outside of it), both in tooling, the ecosystem, and developer's perceptions.

These things all feed into each other.

If you're in the (vast, vast) majority of Swift developers then you're writing apps for iOS, MacOS, etc. This means outside of that context Swift goes from being a relatively popular language with a strong ecosystem to an incredibly niche one.

One angle where this could gain traction is devs writing a server side backend for their Apple app - but this use case is sliced apart in practice.

- Teams that start off wanting to use the same language for the app and the backend are likely to pick React Native or similar.

- The larger teams that want/need to write their app natively likely have devs that write the apps and devs that write the server code - so the desire the for language to be the same is lower.

- The pool of developers you could hire that have backend experience and swift experience is much much smaller than either of those two factors alone.

On a pure 'is this language good enough for the problem' level - sure, swift could do the job.

But that's also true of almost every other language.

timeon•8mo ago
Just my anecdote. I was excited about Swift when it came out. Then I realized that I can't use my own apps on my phone for more than a week. Which, unfortunately, led my to use web technologies. And with that into completely different tech stack for backend/frontend.
frou_dh•8mo ago
Because it's a massively competitive space, and being passably good ("Hey guys, the toolchain and these libraries do actually run on Linux. Also we have XYZ Working Group.") is not sufficient to get peoples' attention.
carlhung•8mo ago
It is a pretty shit language. I use Swift for living. It has a lot of special keywords, Features, etc. they keep adding new keywords to fix specific issues. it is a distasteful language.

Trofim Lysenko

https://en.wikipedia.org/wiki/Trofim_Lysenko
1•Gravityloss•1m ago•0 comments

Built a photo to coloring page+puzzle tool. Need help picking with paying niche

https://reliveincolor.com/
1•dtyutyunik•3m ago•1 comments

Fears

https://jens.mooseyard.com/2015/05/12/fears/
1•andsoitis•8m ago•0 comments

Quick Guide to Hardware Prototyping

https://www.deepseadev.com/en/blog/hardware-prototyping-guide/
2•andsoitis•12m ago•0 comments

Whole Building Design Guide

https://www.wbdg.org/
1•mmooss•13m ago•1 comments

They made me an offer I couldn't refuse (1997)

https://jens.mooseyard.com/1997/04/13/they-made-me-an-offer-i-couldnt-refuse/
1•classichasclass•15m ago•0 comments

ARC-AGI 2: Poetiq reaches 75% at less $8 / task

https://twitter.com/poetiq_ai/status/2003546910427361402
2•dimtion•16m ago•0 comments

Useful Agentic Workflows

https://davidgasquez.com/useful-agentic-workflows-2025/
1•kalendos•19m ago•0 comments

Show HN: SafeSnipe AI – Rug pull detector for Solana meme coins

https://automated-alpha-app.netlify.app
1•botbuilder•21m ago•0 comments

Neuromorphic Hardware Guide

https://open-neuromorphic.org/neuromorphic-computing/hardware/
3•andsoitis•23m ago•0 comments

Show HN: Agentica – 200 reqs/day for free, data not used to train our LLMs

https://agentica.genlabs.dev
2•GenLabs-AI•28m ago•0 comments

Pion 4.2.0, 69 Contributors, Rack SCTP – ICE Renomination – Cryptex – FlexFEC

https://github.com/pion/webrtc/releases/tag/v4.2.0
2•joeturki•28m ago•0 comments

Microspeak: North Star – The Old New Thing (2015)

https://devblogs.microsoft.com/oldnewthing/20151103-00/?p=91861
4•rbanffy•29m ago•1 comments

Ask HN: What did you lose forever because you had no backup?

4•postit•30m ago•1 comments

Cursor for Excel

https://paneapp.com
1•rbajp•32m ago•0 comments

How the Grinch Stole Metrics

https://web.eecs.umich.edu/~tpkelly/grinch.html
1•underscoreF•35m ago•0 comments

Show HN: A lightweight ad blocker Chrome extension I built

https://chromewebstore.google.com/detail/free-blocker-ad-blocker-a/ajmonbkfjffgdhhacjmlkfpdpbfnaeon
1•SahilAdBlocker•38m ago•0 comments

Do LSPs make coding agent output better?

https://www.nuanced.dev/blog/evaluating-lsp
1•jmvldz•38m ago•0 comments

Engineering Strategy Beyond Tech and Control

https://learnings.aleixmorgadas.dev/p/engineering-strategy-beyond-tech
1•mooreds•42m ago•0 comments

RCX Codex v1.0: A pre-axiomatic framework for recursive structure and paradox

https://zenodo.org/records/18039971
1•jabramsja•43m ago•0 comments

An Interview with Brian Baker

https://ciamweekly.substack.com/p/an-interview-with-brian-baker
1•mooreds•44m ago•0 comments

How to revive your love of books

https://apnews.com/article/reading-for-pleasure-routine-library-books-booktok-4ccb7acd24ad890bf0b...
1•mooreds•44m ago•0 comments

Neutral Atom Quantum Computing: 2026's Big Leap

https://spectrum.ieee.org/neutral-atom-quantum-computing
1•rbanffy•45m ago•0 comments

Visualizing Color Spaces in Augmented Reality with Spectacles

https://a-sumo.github.io/posts/visualizing-color-spaces-in-ar-glasses/
1•rslice•46m ago•0 comments

Lomag.net: Reliable web hosting since 1998

http://lomag.net
2•smeeagain•46m ago•1 comments

A Search for Radio Technosignatures from Interstellar Object 3I/Atlas

https://arxiv.org/abs/2512.18142
1•bikenaga•46m ago•1 comments

Texas App Store Age Verification Law Blocked by Federal Judge

https://www.macrumors.com/2025/12/23/texas-app-store-law-blocked/
3•danso•49m ago•0 comments

Some New Projects Are Using Harper

https://elijahpotter.dev/articles/projects-using-harper
1•chilipepperhott•51m ago•0 comments

Switching It Up a Bit

https://xania.org/202512/23-switching-it-up
2•ibobev•51m ago•0 comments

Using terminal-notifier in Claude Code to get custom notifications

https://www.andreagrandi.it/posts/using-terminal-notifier-claude-code-custom-notifications/
1•EPendragon•51m ago•0 comments