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.

AfterVibe: What Remains When the Conversation Ends

https://arxiv.org/abs/2607.09900
1•mooreds•51s ago•0 comments

My Dumbphone Made My Life Better. It Made Everyone Else's Worse

https://www.nytimes.com/2026/09/16/opinion/dumbphone-smartphone-friendship.html
1•Wowfunhappy•1m ago•0 comments

PaperPull – Download years of statements and receipts locally

https://paperpull.net/
1•rheeloaded•7m ago•0 comments

Solving Factorio Quality

https://exyr.org/2026/solving-factorio-quality/
1•laurenth•12m ago•0 comments

Every 4-piece checkers endgame, solved (6.4M positions, 1.8MB) url

https://github.com/Pixel4youcorp/checkers-endgame-tablebase
1•Heidi_70•13m ago•0 comments

U.S. Strategic Petroleum Reserve Falls to Lowest Level Since 1982

https://oilprice.com/Latest-Energy-News/World-News/US-Strategic-Petroleum-Reserve-Falls-to-Lowest...
2•thelastgallon•13m ago•0 comments

AI Agents Are About to Flood the Workforce. No One's Ready for It

https://www.wired.com/story/ai-agents-are-about-to-flood-the-workforce-no-ones-ready-for-it/
1•ent101•14m ago•1 comments

Bleci – Automate repetitive Bluetooth LE debugging

https://apps.apple.com/us/app/bluetooth-ci-tracker/id6451366993
1•ianhwu•15m ago•0 comments

Einsum Trees: An Abstraction for Optimizing the Execution of Tensor Expressions [video]

https://www.youtube.com/watch?v=zPd1wWLJFq8
1•matt_d•16m ago•0 comments

Senate Resoundingly Approves College Sports Measure

https://www.nytimes.com/2026/09/28/us/politics/senate-college-sports.html
1•ChrisArchitect•18m ago•1 comments

Intellign Tools – browser-first utilities you can also embed or install

https://tools.intellign.us/
2•letscreateish•23m ago•0 comments

About the security content of macOS Sequoia 15.8.1

https://support.apple.com/en-us/149229
1•soheilpro•28m ago•0 comments

The 'Colossal Headache' of Building a Made-in-America Monopoly Game

https://www.wsj.com/business/american-made-monopoly-game-tariffs-china-e9a06e68
3•fortran77•32m ago•2 comments

Choices – Enterprise System-1 Router

https://mahabodi.github.io/
1•prabhatkr•34m ago•0 comments

Meta's New Muse AI Agent Read My Private Messages. I Never Asked It To

https://www.inc.com/jason-aten/metas-new-muse-ai-agent-read-my-private-messages-i-never-asked-it-...
1•eloisius•36m ago•0 comments

Base31.org -best Site Award

https://www.base31.org/
1•notam•37m ago•0 comments

Classify 6700 pages for $1 with a Jev-compatible VLM API

https://twitter.com/spillai/status/2104652597248561477
1•fzysingularity•38m ago•0 comments

Show HN: Talktome - let your AI Agent call you

https://github.com/rohanprichard/talktome
2•rohanprichard•39m ago•1 comments

Muse gives user's home address without permission, sending buyer to his house

https://www.theguardian.com/technology/2026/sep/28/metas-ai-agent-muse-home-address
2•spopejoy•39m ago•1 comments

The Second Life of Autoconf for MS-DOS

https://code.dblock.org/2026/09/27/the-second-life-of-autoconf-for-ms-dos.html
1•dblock•40m ago•0 comments

Firebase reporting crashes due to Firebase

https://github.com/firebase/firebase-ios-sdk/issues/16728
1•Eclyps•40m ago•1 comments

Anthropic warns of 'existential risks to humanity' in IPO prospectus

https://www.ft.com/content/c7685a7e-7745-4cbc-8053-4958d0ea449b
2•burntcaramel•41m ago•1 comments

Claude Code's Next Era

https://www.latent.space/p/thariq
1•swyx•46m ago•0 comments

The machine layer under Nvidia OpenShell: why containment is not safety

https://endstop.systems/blog/nvidia-openshell-machine-layer
2•osidorkin•49m ago•0 comments

Training NanoGPT in 39.9 Seconds

https://github.com/KellerJordan/modded-nanogpt/pull/360
1•simonpure•53m ago•0 comments

Show HN: Interactive Diesel Price Forecaster

https://sightspinner.ai/blog/diesel-prices-are-high-here-s-why-they-might-go-higher-2026-09-29.html
3•sightspinner•53m ago•0 comments

What I Learned About Asset Pricing

https://pedrosantaclara.substack.com/p/what-i-learned-about-asset-pricing
1•yarapavan•57m ago•0 comments

AI agent memory can be poisoned – and later treated as the user's own past

https://www.astraobscura.net/2026/09/28/the-memory-that-wasnt-yours/
2•rodicarsone•57m ago•0 comments

Managing access to catalogs in ScalarDB Analytics

https://medium.com/scalar-engineering/managing-access-to-catalogs-in-scalardb-analytics-a5f95e1a2872
1•josh-scalar•58m ago•0 comments

Supporting native Rust in Workers with the Emscripten target for WASM-bindgen

https://blog.cloudflare.com/rust-workers-emscripten-target/
2•CoderLim110•58m ago•0 comments