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

Derek Sivers: Why I gave my company to a charitable trust

https://sive.rs/wds
1•theorchid•2m ago•0 comments

Ralph Wiggum with Session Usage Limits

https://github.com/chrisdail/ralph-simple-smart
1•chrisdail•3m ago•0 comments

Show HN: Local RAG Pipeline with Weaviate and Ollama

https://www.storyblok.com/mp/how-to-build-a-rag-pipeline-with-weaviate-and-ollama
1•edodusi•4m ago•0 comments

Why Retrieval-Augmented Generation Still Gets Meaning Wrong [pdf]

https://github.com/therealitydrift/semantic-fidelity-lab/blob/main/03_Research_and_Papers/SFL_Fai...
1•scaledsystems•5m ago•0 comments

Show HN: PM tool where you describe your project and the workspace builds itself

https://www.getchimerical.com/
1•nlaborde1•6m ago•1 comments

True Stuff: Monk vs. the Printing Press

https://wondermark.com/true-stuff-monk-vs-press/
1•michael_m_b•8m ago•0 comments

Windows 11's second-chance setup dialogs hurt IT, drain productivity

https://www.theregister.com/2026/04/26/windows_second_chance_setup/
1•geekinchief•8m ago•0 comments

Show HN: I built a 144Hz sci-fi RTS using a 15,000line React monolith and Canvas

https://vibeaxis.com/divine-orbit-free-demo-play-in-browser-now/
1•XQorp•8m ago•0 comments

Show HN: I have Parkinson's, so I defensively patented a battery-free tracker

https://halfmarble.com/blog/unsteady-ring.html
1•gerard-hm•9m ago•2 comments

The Technical Debt Manifesto (2025)

https://techdebtmanifesto.github.io/
1•fscaramuzza•9m ago•0 comments

AI will boost the gig economy platform by making freelancers more valuable

https://en.globes.co.il/en/article-most-of-my-liquid-capital-is-spent-on-philanthropy-1001540571
1•wslh•9m ago•0 comments

Memory Is the Machine

https://om.co/2026/04/27/memory-is-the-machine/
1•herbertl•9m ago•0 comments

Greenhouse gases from data center boom could outpace nations

https://www.wired.com/story/new-gas-powered-data-centers-could-emit-more-greenhouse-gases-than-en...
1•rbanffy•11m ago•1 comments

Show HN: Void Player – A 1.6MB native macOS music player for local files

https://github.com/leeseomin/VoidPlayer-releases
1•smlee•13m ago•0 comments

Eight months early and under budget, the Roman Telescope is ready to launch

https://arstechnica.com/science/2026/04/eight-months-early-and-under-budget-the-roman-telescope-i...
1•rbanffy•14m ago•0 comments

"An Agent Cannot See Its Own Bugs" – things I notice running multi-agent daily

https://twitter.com/keane42443/status/2048419624124113119
1•10keane•14m ago•0 comments

What 'Rescheduling' of Marijuana Means for Americans

https://www.bloomberg.com/news/articles/2026-04-23/marijuana-rescheduled-what-us-regulatory-chang...
1•wslh•14m ago•1 comments

Bypass internet blockade in Iran via Vercel

https://github.com/powerofp/vercelmasterhttp
2•mohsen1•15m ago•0 comments

Apple, please make an e-reader

https://ericlamb.substack.com/p/apple-please-make-an-e-reader
1•ericlamb89•15m ago•0 comments

Registries Considered Harmful

https://words.filippo.io/registries-considered-harmful/
1•st_goliath•17m ago•0 comments

How Our Grandmothers Made Us and Saved Us

https://orionmagazine.org/article/how-our-grandmothers-made-us-and-saved-us/
1•speckx•19m ago•0 comments

Show HN: HumansMap, Leaderboards,interactive graphs on 1M+ Wikidata entities

https://humansmap.com/
1•abstracthinking•21m ago•0 comments

Email Is Crazy

https://samkhawase.com/blog/email-is-crazy/
10•FlyingSnake•22m ago•0 comments

Show HN: Tenantbox – Multi-tenant file storage for SaaS in two API calls

https://tenantbox.dev
1•omollohemstone•24m ago•1 comments

A local-first sync setup for a Markdown-based feed reader

https://crocidb.com/post/a-local-first-sync-setup-for-a-markdown-based-feed-reader/
1•CrociDB•24m ago•0 comments

Show HN: OSS Agent I built topped the TerminalBench on Gemini-3-flash-preview

https://github.com/dirac-run/dirac
20•GodelNumbering•28m ago•2 comments

Million Dollar Homepage Vibes

https://pixeltrees.app/
1•SteveChurch•29m ago•0 comments

Kintsugi

https://en.wikipedia.org/wiki/Kintsugi
3•mellosouls•30m ago•0 comments

Close Call: Lufthansa 787 Performs Go-Around Directly Above Qatar Cargo 777

https://simpleflying.com/lufthansa-787-qatar-cargo-777-bogota-close-call/
2•Tomte•30m ago•0 comments

Our Uncertain Uncertainties

https://kk.org/thetechnium/our-uncertain-uncertainties/
1•herbertl•30m ago•0 comments