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

Comments

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

Manus AI 100M USD ARR

https://manus.im/blog/manus-100m-arr
1•ms7892•6m ago•0 comments

Petlibro: Pet Feeder Is Feeding Data to Anyone Who Asks

https://bobdahacker.com/blog/petlibro
3•almost•15m ago•0 comments

Show HN: Terminal Aesthetic Productivity App

https://app.kensho.zone
1•kenshozone•22m ago•0 comments

Collections: Gandalf Proved Mightiest: Spiritual Power in Tolkien

https://acoup.blog/2025/04/25/collections-how-gandalf-proved-mightiest-spiritual-power-in-tolkien/
1•Tomte•26m ago•0 comments

Beyond Context: Large Language Models Failure to Grasp Users Intent

https://arxiv.org/abs/2512.21110
1•mpweiher•26m ago•0 comments

Parsing IP addresses quickly (portably, without SIMD magic)

https://lemire.me/blog/2025/12/27/parsing-ip-addresses-quickly-portably-without-simd-magic/
1•usdogu•28m ago•0 comments

Austin 7

https://en.wikipedia.org/wiki/Austin_7
1•teleforce•29m ago•0 comments

Where drones drop dead and GPS goes haywire

https://www.msn.com/en-us/technology/hardware-and-devices/where-drones-drop-dead-and-gps-goes-hay...
1•dmitrygr•29m ago•1 comments

A new research shows that 21-33% of YouTube's feed may consist of AI slop

https://www.kapwing.com/blog/ai-slop-report-the-global-rise-of-low-quality-ai-videos/
25•aquir•37m ago•7 comments

Italians celebrate village's first baby in 30 years

https://www.theguardian.com/world/2025/dec/26/italian-village-first-baby-in-30-years
2•andsoitis•40m ago•0 comments

How Walmart's Financial Services Became a Fraud Magnet

https://www.propublica.org/article/walmart-financial-services-became-fraud-magnet-gift-cards-mone...
1•gpi•40m ago•0 comments

Breakthrough of the Year: The unstoppable rise of renewable energy

https://www.science.org/content/article/breakthrough-2025
1•tzury•48m ago•0 comments

Human OCEL1 senses bacterial infection to unlock inflammatory responses

https://www.science.org/doi/10.1126/sciimmunol.adk0853
1•tzury•49m ago•0 comments

Jeremy Clarkson and James May Find the First Car [video]

https://www.youtube.com/watch?v=fkwGJzU5B-I
1•teleforce•50m ago•0 comments

Hb

https://www.google.com/search?q=gv+hj%2Cb&oq=gv+hj%2Cb&gs_lcrp=EgZjaHJvbWUyBggAEEUYOTIHCAEQIRiPAt...
2•svgd•51m ago•0 comments

Flat-headed cat not seen in Thailand for almost 30 years is rediscovered

https://www.livescience.com/animals/flat-headed-cat-not-seen-in-thailand-for-almost-30-years-is-r...
1•rguiscard•1h ago•0 comments

Lea Verou's PhD Thesis

https://phd.verou.me/
2•sanketsaurav•1h ago•0 comments

Growing up in "404 Not Found": China's nuclear city in the Gobi Desert

https://substack.com/inbox/post/182743659
2•Vincent_Yan404•1h ago•1 comments

C++ says "We have try at home."

https://devblogs.microsoft.com/oldnewthing/20251222-00/?p=111890
1•ibobev•1h ago•0 comments

America will not become a tech oligarchy

https://www.economist.com/business/2025/01/21/donald-trumps-america-will-not-become-a-tech-oligarchy
1•andsoitis•1h ago•0 comments

Klein Bottle: From Intuition to Rigor

https://www.johndcook.com/blog/2025/12/27/klein-bottle/
1•ibobev•1h ago•0 comments

Condé Nast gets hacked, and DataBreaches gets "played"

https://databreaches.net/2025/12/25/conde-nast-gets-hacked-and-databreaches-gets-played-christmas...
3•incomplete•1h ago•0 comments

Uxn32: Uxn Emulator for Windows and Wine

https://github.com/randrew/uxn32
1•ibobev•1h ago•0 comments

Racist AI fakes are now a business – and a political tool

https://www.axios.com/2025/12/27/racist-ai-videos-viral-trend
1•smurda•1h ago•0 comments

For Better or for Worse, the Overload

https://consteval.ca/2024/07/25/overload/
1•HeliumHydride•1h ago•0 comments

Surging satellite numbers threaten to dazzle even space telescopes

https://www.economist.com/science-and-technology/2025/12/03/surging-satellite-numbers-threaten-to...
1•1vuio0pswjnm7•1h ago•0 comments

Show HN: I visualized C pointers because I was failing my class (built with AI)

https://afmicreates-c-learning.streamlit.app/
2•af_mi•1h ago•1 comments

Willie Nelson Sees America

https://www.newyorker.com/magazine/2025/12/29/willie-nelson-profile
2•MaysonL•1h ago•0 comments

HUML (Human-Oriented Markup Language)by Kailash, CTO Zerodha [video]

https://www.youtube.com/watch?v=4M_tD1N14Ao
2•maheshs•1h ago•0 comments

Extreme recall: which politicians come to mind?

https://www.tandfonline.com/doi/abs/10.1080/17457289.2025.2474411
2•neehao•1h ago•0 comments