frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

7•grandimam•1y ago

Comments

xp84•1y 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•1y ago
https://en.m.wikipedia.org/wiki/Mac_OS_X_Server
xp84•1y ago
But that was dead by the time Swift came out. I apologize for my poor wording.
john_the_writer•1y 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•1y 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•1y 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•1y ago
Might make sense if you're an app developer but outside of that, even within that TBH, it's pretty niche.
manter•1y 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•1y 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•1y 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•1y 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.

Alzheimer's disease starting to be considered a treatable condition – study

https://www.rnz.co.nz/news/health/1483456/alzheimer-s-disease-starting-to-be-considered-a-treatab...
1•theanonymousone•2m ago•0 comments

Study: BEVs emit 88g CO2/km over their lifecycle, less than half ICE cars [pdf]

https://www.nature.com/articles/s41467-026-77892-4_reference.pdf
1•giuliomagnifico•3m ago•0 comments

Newly discovered asteroid 2026 SY2 changes how NEO data is interpreted

https://www.astrophyzix.com/2026/09/asteroid-2026-SY2.html
2•JEOFFEZZ•3m ago•0 comments

The AI Agent Landscape – September 2026

https://thebeach.dev/posts/the-agent-landscape-september-2026/
1•jamiebeach•5m ago•0 comments

Turn off and restrict access to Apple Intelligence features on Mac

https://support.apple.com/guide/mac-help/turn-restrict-access-apple-intelligence-mchlb2e44f94/mac
3•alwillis•5m ago•0 comments

Arguing about Arguments

https://steveklabnik.com/writing/arguing-about-arguments/
2•steveklabnik•6m ago•0 comments

Advisory Group on Mathematics and Artificial Intelligence

https://openai.com/index/advisory-group-on-mathematics-and-ai/
2•js73js8•8m ago•0 comments

Ask HN: Formatting Guidelines for LLM Comments

1•manlymuppet•8m ago•0 comments

Dreams of making drugs and tissues in space get closer to reality

https://www.science.org/content/article/dreams-making-drugs-and-tissues-space-get-closer-reality
1•geneticdrifts•9m ago•0 comments

Vulnerability Disclosure Policy

https://www.flocksafety.com/legal/vulnerability-disclosure-policy
2•Tomte•10m ago•0 comments

Tinfield 1 is an open weight coding model from Nigeria that beats Opus 4.8

https://twitter.com/Badtheorylabs/status/2102046067990692093
2•gslepak•11m ago•0 comments

2026: The Year Galleries Realised the Need to Flag or Cull Slop Images

https://techrights.org/n/2026/09/21/2026_The_Year_Galleries_Realised_the_Need_to_Flag_or_Cull_Slo...
1•amcclure•12m ago•0 comments

Big AI to humanity: drop dead

https://matthewbutterick.com/chron/drop-dead.html
3•Tomte•12m ago•0 comments

Ten years since the factors (fiction)

https://dreamstation.systems/personal/factors.html
1•robinpie•13m ago•0 comments

The Apocalypse Will Not Be Sexy

https://www.techdirt.com/2026/09/21/the-apocalypse-will-not-be-sexy/
4•beardyw•15m ago•0 comments

Qwen3.8-Flash-Next on a 64 GB M2 Ultra: A 66-Minute Real Work Run

https://b1tank.github.io/writing/my-real-world-qwen38-flash-next-agent-run/
1•b1tank•16m ago•0 comments

Building standards for the next phase of AI

https://openai.com/index/building-standards-next-phase-ai/
1•artninja1988•18m ago•0 comments

Seeing Who Contaminates Linux with Slop (and Also Admits It)

https://techrights.org/n/2026/09/21/Linux_Kernel_Becoming_a_Slopfest_Part_6_Seeing_Who_Contaminat...
2•amcclure•18m ago•0 comments

Skyportal CLI: What happens when an AI agent needs approval

https://pypi.org/project/skyportalai/
1•henrique221•19m ago•0 comments

Show HN: Sommelier, an Excel Addin for your agent

https://sommelier.grokked.it
1•grokkedit•21m ago•0 comments

Seven Deadly Sins of DevX

https://amplitude.com/seven-sins-of-devx
2•ShMcK•22m ago•0 comments

Gobag: Semantic session archival for Claude Code

https://github.com/satmihir/gobag
3•musigma90•26m ago•0 comments

Bernstein's Factorization Method Helped Factor RSA-240 in 2020

https://leetarxiv.substack.com/p/bernsteins-factorization-method-helped
2•theanonymousone•28m ago•0 comments

Petal: Building the First Petabit-Class Transoceanic Subsea Cable

https://engineering.fb.com/2026/09/21/connectivity/petal-petabit-transoceanic-subsea-cable/
1•sbulaev•29m ago•0 comments

OpenAI projections point to a $278B cash burn through 2030

https://www.tomshardware.com/tech-industry/artificial-intelligence/openai-projections-point-to-a-...
2•MC995•29m ago•1 comments

LGBT tolerance slumps in the Netherlands, 22% of boys have LGBT+ positive views

https://www.dutchnews.nl/2026/09/lgbt-tolerance-slumps-in-the-netherlands-as-debate-turns-vicious/
4•alephnerd•30m ago•0 comments

Aura – Open-Source Framework for Detecting Social Engineering in LLMs

https://github.com/kate8382/AURA
2•kate8382•30m ago•0 comments

What would happen if the Yellowstone supervolcano erupted now

https://theconversation.com/end-of-humanity-blow-by-blow-account-of-what-would-happen-if-the-yell...
2•Stratoscope•30m ago•0 comments

How do I talk about using AI without sounding like an AI evangelist?

https://www.askamanager.org/2026/09/how-do-i-talk-about-using-ai-without-sounding-like-an-ai-evan...
1•MattSayar•34m ago•0 comments

Writing Rust code faster than SotA by asking agents to make the code faster

https://minimaxir.com/2026/09/agentic-iteration/
1•minimaxir•34m ago•0 comments