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

How much do your EC2 nodes cost?

https://github.com/Nextdoor/lumina
1•diranged•1m ago•0 comments

Why I Always End Up Going Back to C

https://deplet.ing/why-i-always-end-up-using-c/
1•indy•1m ago•0 comments

Request Radar – Classify LinkedIn invitations as recruiters or spam

https://chromewebstore.google.com/detail/request-radar/pmpkcbnkoojpenphcempidfgkjkemife
1•kvntrnz•2m ago•1 comments

New Pyramid Theory Explains the Missing Evidence [video]

https://www.youtube.com/watch?v=h5kWDOuY2Uo
1•evolve2k•5m ago•0 comments

Darren Aronofsky's New AI Series About the Revolutionary War Looks Like Dogshit

https://gizmodo.com/darren-aronofskys-new-ai-series-about-the-revolutionary-war-looks-like-dogshi...
2•voxadam•5m ago•0 comments

I Test Drove a Chinese EV. Now I Don't Want to Buy American Cars Anymore.

https://www.wsj.com/tech/personal-tech/chinese-ev-test-drive-xiaomi-su7-c3e59282
1•petethomas•7m ago•1 comments

Trump sues IRS, Treasury Department for $10B over tax return leak

https://www.reuters.com/world/us/trump-sues-irs-treasury-department-10-billion-over-tax-return-le...
8•rguiscard•10m ago•0 comments

The Cost of PostgreSQL Arrays

https://boringsql.com/posts/good-bad-arrays/
2•PaulHoule•10m ago•0 comments

Disrupting the Largest Residential Proxy Network

https://cloud.google.com/blog/topics/threat-intelligence/disrupting-largest-residential-proxy-net...
2•pabs3•11m ago•0 comments

President Trump says he wants to drive housing prices up, not down

https://www.usatoday.com/story/news/politics/2026/01/29/trump-housing-prices-increase-affordabili...
7•hypeatei•12m ago•0 comments

MedEvalArena: Peer-judged LLM medical reasoning benchmark

https://danbernardo.substack.com/p/medevalarena
1•docere•13m ago•0 comments

Show HN: TalosPro – AI that executes (not just suggests)

https://www.talospro.ai/
1•ravensingh•13m ago•0 comments

Evin Agasi – Talga [video]

https://www.youtube.com/watch?v=m2OvQEtLU90&list=RDm2OvQEtLU90
1•marysminefnuf•14m ago•0 comments

Ask HN: How are devtool founders getting their paying users in 2026?

3•yasu_c•18m ago•0 comments

Show HN: Cwt – Sandbox AI coding agents using Git Worktrees

https://github.com/benngarcia/claude-worktree
1•hahahacorn•20m ago•0 comments

Claude Code makes several thousand dollars in 30 minutes, with Patrick McKenzie

https://www.complexsystemspodcast.com/episodes/claude-code/
1•adpreese•20m ago•0 comments

Top worldwide with social-engineering and a cheat that's still undetected

https://www.ud2.rip/blog/vsrg/
2•Karrot_Kream•20m ago•0 comments

AI has never been needed for creativity

https://twitter.com/EZE3D/status/2012588584251904442
1•exvi•21m ago•1 comments

The Helicopter That Caused the Potomac Air Disaster

https://nymag.com/intelligencer/article/inside-the-helicopter-that-caused-the-potomac-air-disaste...
3•xenophon•22m ago•0 comments

Trump, 2 sons, Trump Org sue IRS, Treasury for $10B over tax records leak

https://www.msn.com/en-us/money/companies/trump-sues-irs-and-treasury-for-10-billion-over-leak-of...
8•petethomas•26m ago•1 comments

Show HN: Play Zener Cards

https://zener.cards
2•nirvanist•29m ago•0 comments

Realistic Cave Exploration Game with Custom Renderer Tech

https://www.youtube.com/watch?v=4k1OHSCp_h0
1•hydrolox•32m ago•0 comments

Key to human intelligence lies in how brain networks work together

https://news.nd.edu/news/key-to-human-intelligence-lies-in-how-brain-networks-work-together/
3•hhs•32m ago•0 comments

Resist.mobi, decentralized ICE protest and reporting platform, was breached

https://xcancel.com/justabreach/status/2016449394543890590
6•botacode•32m ago•0 comments

Jury finds exGoogle engineer guilty of stealing AI secrets for Chinese companies

https://www.courthousenews.com/jury-finds-ex-google-engineer-guilty-of-stealing-ai-trade-secrets-...
2•voxadam•33m ago•1 comments

Apple confirms Gemini-powered Siri will use Private Cloud

https://9to5mac.com/2026/01/29/apple-confirms-gemini-powered-siri-will-use-private-cloud-compute/
3•alwillis•35m ago•1 comments

We Should Eradicate the Empty String – Here's Why

https://www.cnpp.dev/blog/practical-type-system/eradicate-empty-string/index.html
1•welfareleech•37m ago•1 comments

ArcaOS is a proprietary operating system based on OS/2

https://en.wikipedia.org/wiki/ArcaOS
6•doener•38m ago•0 comments

A Simple Method for Accelerating Grokking

https://www.lesswrong.com/posts/38RcAQezS2AEcaEGv/a-simple-method-for-accelerating-grokking
1•vuciv•38m ago•0 comments

Voice Censorship

https://www.youtube.com/watch?v=t2hE9wT569E
1•barrister•39m ago•0 comments