frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: Why hasn't Swift gained wider adoption for backend?

7•grandimam•2mo ago

Comments

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

Soham Parekh breaks silence on defrauding companies, says he was forced to do it

https://timesofindia.indiatimes.com/world/us/im-not-proud-soham-parekh-breaks-silence-on-defrauding-companies-says-he-was-forced-to-do-it/articleshow/122235662.cms
1•romanhn•4m ago•0 comments

Discovery of ancient Roman shoes leaves a big impression

https://www.vindolanda.com/news/magna-shoes
1•geox•6m ago•0 comments

Xi Jinping's two-week absence sparks speculation of power shift within CCP

https://www.cnbctv18.com/world/chinese-president-xi-jinpings-two-week-absence-sparks-speculation-of-power-shift-within-ccp-report-19629056.htm
3•ivape•13m ago•0 comments

Only two islands in the world have population of more than 100M people

https://twitter.com/koridentetsu/status/1692831722159890752
1•matsuu•15m ago•0 comments

Britain is already a hot country. It should act like it

https://www.economist.com/britain/2025/07/03/britain-is-already-a-hot-country-it-should-act-like-it
2•_dain_•23m ago•2 comments

Science has changed, have you? Change is good

https://mnky9800n.substack.com/p/science-has-changed-have-you
1•Bluestein•30m ago•0 comments

Why Polyworking Is The Future Of Work And How To Become A Polyworker

https://www.forbes.com/sites/williamarruda/2024/11/05/why-polyworking-is-the-future-of-work-and-how-to-become-a-polyworker/
3•Anon84•30m ago•1 comments

Vine-like Systems and Malleability

https://nothingisnttrivial.com/vines.html
1•networked•33m ago•0 comments

I Shipped a macOS App Built by Claude Code

https://www.indragie.com/blog/i-shipped-a-macos-app-built-entirely-by-claude-code
7•discordance•35m ago•4 comments

Show HN: I Asked ChatGPT to Rebuild My Canvas Radial Menu in SVG

https://github.com/victorqribeiro/radialMenuSVG
1•atum47•39m ago•0 comments

Show HN: Quotatious – A Wordle and hangman inspired game

https://www.quotatious.com/
2•jcusch•40m ago•0 comments

Microsoft Music Producer

https://www.youtube.com/watch?v=EdL6b8ZZRLc
2•natebc•45m ago•0 comments

School Discipline Makes a Comeback

https://www.wsj.com/opinion/school-discipline-states-texas-arkansas-washington-covid-trump-obama-eeceba4c
2•sandwichsphinx•53m ago•0 comments

Building Multi-Agent Systems (Part 2)

https://blog.sshh.io/p/building-multi-agent-systems-part
1•sshh12•59m ago•0 comments

Solving Wordle with uv's dependency resolver

https://mildbyte.xyz/blog/solving-wordle-with-uv-dependency-resolver/
2•mildbyte•1h ago•0 comments

How the Biosphere 2 experiment changed our understanding of the Earth

https://www.bbc.com/future/article/20250703-how-the-biosphere-2-experiment-changed-our-understanding-of-the-earth
2•breve•1h ago•0 comments

Think slow, think fast (2016)

http://datagenetics.com/blog/december32016/index.html
1•josephcsible•1h ago•0 comments

Wikipedia Sandbox

https://en.wikipedia.org/wiki/Wikipedia:Sandbox
2•esadek•1h ago•0 comments

The Dalai Lama says he hopes to live more than 130 years

https://apnews.com/article/india-dalai-lama-buddhism-birthday-130-98ea3c4c4db8454ea56a7a123ac425ec
1•geox•1h ago•1 comments

Show HN: From Photos to Positions: Prototyping VLM-Based Indoor Maps

https://arjo129.github.io/blog/5-7-2025-From-Photos-To-Positions-Prototyping.html
2•accurrent•1h ago•0 comments

Elon Musk launches new America Party

https://www.dw.com/en/elon-musk-launches-new-america-party/a-73171209
12•layer8•1h ago•2 comments

Elon Musk's Favorite Drug Explained

https://www.vox.com/health/415600/elon-musk-ketamine-therapy-depression-risks
4•wslh•1h ago•2 comments

Under the Hood of Claude Code

https://pierce.dev/notes/under-the-hood-of-claude-code/
1•icyfox•1h ago•0 comments

Stop Hiding My Controls: Hidden Interface Controls Are Affecting Usability

https://interactions.acm.org/archive/view/july-august-2025/stop-hiding-my-controls-hidden-interface-controls-are-affecting-usability
58•cxr•1h ago•12 comments

Can you see circles or rectangles? Does the answer depend on where you grew up?

https://www.theguardian.com/commentisfree/2025/jul/05/optical-illusions-see-world-perception
1•etiam•1h ago•1 comments

JSON Parser in 111 lines of Haskell (2019) [video]

https://www.youtube.com/watch?v=N9RUqGYuGfw
1•battle-racket•1h ago•0 comments

From a recent presentation of the brand new restoration of TRON [video]

https://www.youtube.com/shorts/yHqP6XgHSl8
2•CharlesW•1h ago•0 comments

I'm trying to cool the planet using bacteria – here's the idea

https://osf.io/pmbnk/
2•icevector•1h ago•1 comments

WeSellRemotely – The Daddy of All Remote Sales Job Boards

https://wesellremotely.com/
2•figoshi•1h ago•1 comments

RFK's proposal to let bird flu spread through poultry

https://www.livescience.com/health/flu/rfks-proposal-to-let-bird-flu-spread-through-poultry-could-set-us-up-for-a-pandemic-experts-warn
35•anjel•1h ago•30 comments