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•9mo ago

Comments

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

Emu8910: A tiny, fully featured AY-3-8910 emulator (TypeScript)

https://github.com/lunar-rf/emu8910
1•lunarjournal•4m ago•0 comments

Actuarial Notation

https://en.wikipedia.org/wiki/Actuarial_notation
1•srl•5m ago•0 comments

Show HN: I built Cyberpunk interface for my habits because Notion was too boring

https://playlife2.com
1•prabalsaxena•6m ago•0 comments

What comes after 'seeing is believing'

https://www.washingtonpost.com/opinions/interactive/2026/ai-photo-art-misinformation-conspiracy-t...
1•geox•7m ago•0 comments

The Lost Art of Structure Packing

http://www.catb.org/esr/structure-packing/
1•tosh•8m ago•0 comments

Show HN: Terravision – Generate Cloud architecture diagrams from Terraform code

https://github.com/patrickchugh/terravision
2•neogeno•12m ago•1 comments

A pandemic rescue became a 30-year debt trap

https://thehill.com/opinion/finance/5692543-small-business-loan-debt-trap/
3•iancmceachern•12m ago•0 comments

Help – GitHub Terminated Without Notice, No Broken Rules

https://github.com/nicoandmee/
1•todsacerdoti•14m ago•0 comments

America is slow-walking into a Polymarket disaster

https://www.msn.com/en-us/money/markets/america-is-slow-walking-into-a-polymarket-disaster/ar-AA1...
6•krustyburger•15m ago•1 comments

Show HN: LinuxMate generates reproducible Linux setup script

https://github.com/Henkster72/LinuxMate
2•henkster•17m ago•0 comments

Mystery of the Head Activator

https://www.asimov.press/p/head-activator
1•mailyk•17m ago•0 comments

Authorization API 1.0

https://openid.net/specs/authorization-api-1_0.html
2•mooreds•25m ago•0 comments

Megadroughts, Pt. 3: The Future (2021) (audio)

https://radiowest.kuer.org/agriculture-and-the-environment/2021-09-02/megadroughts-pt-3-the-future
2•mooreds•26m ago•0 comments

The Four Phases of Institutional Collapse in the Age of AI

https://kyla.substack.com/p/the-four-phases-of-institutional
2•mooreds•27m ago•0 comments

At This Office Park, Scamming the World Was the Business

https://www.nytimes.com/2026/01/13/world/asia/myanmar-scam-center.html
2•NN88•29m ago•0 comments

Show HN: HTTP:COLON – A quick HTTP header/directive inspector and reference

https://httpcolon.dev/
1•ultimoo•33m ago•0 comments

Flux 2 Klein pure C inference

https://github.com/antirez/flux2.c
3•antirez•34m ago•0 comments

Rcarmo/textual-webterm: Yet another web terminal, but with style

https://github.com/rcarmo/textual-webterm
1•rcarmo•36m ago•0 comments

Show HN: Creibo – Let AI create according to your style

https://www.creaibo.net
1•Yinp•41m ago•0 comments

We caught a $1,200/month cloud cost regression in a pull request

1•cdeshwal•41m ago•1 comments

Quantum Computing for Lawyers

https://bfswa.substack.com/p/quantum-computing-for-lawyers
1•zdw•42m ago•0 comments

Show HN: Figma-like Canvas for running Claude Code agents

https://github.com/AgentOrchestrator/AgentBase
3•mprokopp•42m ago•0 comments

Show HN: Lume 0.2 – Build and Run macOS VMs with unattended setup

https://cua.ai/docs/lume/guide/getting-started/introduction
2•frabonacci•42m ago•0 comments

Trump housing plan to allow 401(k) money for down payments, adviser says

https://www.reuters.com/sustainability/boards-policy-regulation/trump-housing-plan-allow-401k-mon...
3•tartoran•43m ago•2 comments

Musk seeks up to $134B from OpenAI and Microsoft

https://www.reuters.com/business/musk-seeks-up-134-billion-openai-microsoft-wrongful-gains-2026-0...
1•tartoran•45m ago•0 comments

German industry lashes out at Trump's 'ludicrous' demands

https://www.reuters.com/world/china/german-industry-lashes-out-trumps-ludicrous-demands-2026-01-18/
7•tartoran•47m ago•1 comments

It is 2026; where were we?

https://zverok.space/blog/2026-01-18-upd.html
2•Tomte•48m ago•0 comments

Ask HN: Are cross-platform UI frameworks suitable for camera apps?

2•Austin_Conlon•48m ago•1 comments

Algorithmic hover states with contrast-color()

https://daverupert.com/2026/01/algorithmic-hover-states-with-contrast-color/
1•eustoria•48m ago•0 comments

Repairing Monitor Cataracts on a Burroughs B21 / Convergent AWS Computer CRT [video]

https://www.youtube.com/watch?v=lad0qRRWV0g
2•zdw•49m ago•0 comments