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.

Minimal offline Wikipedia with all text, and proper math rendering

https://github.com/ttsiodras/offline-wikipedia-via-slobby-and-mathjax
1•ttsiodras•49s ago•0 comments

Sabastian Sawe Shatters the 2-Hour Barrier at 2026 London Marathon

https://www.letsrun.com/news/2026/04/15930-sabastian-sawe-shatters-the-2-hour-barrier-at-2026-lon...
1•hasheddan•3m ago•0 comments

<hyper-frame> – embed the Internet, no restrictions

https://www.hyper-frame.art/?hit
1•keepamovin•7m ago•0 comments

Ask HN: What to Expect in 2030s?

1•alexander2002•9m ago•0 comments

A populist wave is rising to end the 'captive' repair economy

https://www.cnbc.com/2026/04/25/right-to-repair-consumer-prices-affordability-economy-elections.html
3•pseudolus•14m ago•0 comments

The 'smart wall' the US is building on the border

https://english.elpais.com/usa/2026-04-26/reinforced-walls-and-detection-technology-the-smart-wal...
1•geox•16m ago•0 comments

Ask HN: Has Claude Opus 4.7 nerfed?

2•souravroy78•16m ago•0 comments

Getting Started [with Retro Computing]

https://smallcomputercentral.com/articles/getting-started/
1•AlexeyBrin•17m ago•0 comments

Claude Code Hooks Reference

https://code.claude.com/docs/en/hooks
1•firasd•19m ago•0 comments

Two runners finish marathon in under 2 hours, a world first

https://www.dw.com/en/sawe-smashes-2-hour-mark-setting-record-at-london-marathon/a-76943171
2•keiferski•19m ago•0 comments

1B in, 20B out. Apple stays out of the war

https://alphasense.cc/signals/apple-ai/
1•langtang1996•22m ago•1 comments

Documented source code for The Sentinel on the BBC Micro

https://thesentinel.bbcelite.com
1•jimmcslim•22m ago•1 comments

The Half-Life of a Moat (Part 1)

https://semistructured.substack.com/p/the-half-life-of-a-moat-part-1
1•kmdupree•24m ago•0 comments

A 17th Century astrolabe once owned by Indian royalty heads for auction

https://www.bbc.com/news/articles/c8x7kw9lp8do
1•breve•25m ago•0 comments

Thoughts about Moments in Claude Mythos System Card

https://old.reddit.com/r/BetterOffline/comments/1sgxc77/thoughts_about_strange_moments_in_claude_...
1•kmdupree•25m ago•0 comments

EsoBench: Learning a Novel Esolang via Iterative Execution Feedback

https://caseys-evals.com/esobench
1•kmdupree•26m ago•0 comments

'I know what I saw' – Scotland's history of big cat sightings

https://www.bbc.com/news/articles/cdxk5525792o
1•breve•27m ago•0 comments

This is How We Get Moral A.I. Companies

https://www.nytimes.com/2026/04/26/opinion/ai-company-good-altruism.html
1•trauco•27m ago•0 comments

Trace Codex Session Easily

https://github.com/PixelPaw-Labs/codex-trace
1•ywian•31m ago•0 comments

Show HN: Ctxbrew – Ship and Use LLM-friendly library context

https://github.com/artem-mangilev/ctxbrew
1•mangilev•31m ago•0 comments

Is it worth parallelizing your GitLab/GitHub pipeline? (Not yet another AI post)

https://softwareefficiency.wordpress.com/2026/04/26/is-it-worth-parallelizing-your-gitlab-github-...
1•denshadeds•33m ago•1 comments

Tosijs-UI's new composable icon system

https://loewald.com/blog/2026/4/26/tosijs-icon-system
1•podperson•38m ago•1 comments

Is Fahrenheit 451 becoming relevant again?

https://kevinboone.me/fahrenheit451.html
2•AlexeyBrin•40m ago•1 comments

Beyond Silicon: Materials, Mechanisms, and Methods for Physical Neural Computing

https://arxiv.org/abs/2604.09833
1•Jazgot•41m ago•1 comments

San Francisco Is Going Nuts over a Giant Sea Lion Named Chonkers

https://www.wsj.com/lifestyle/san-francisco-sea-lion-pier-39-chonkers-145628c0
1•reaperducer•43m ago•0 comments

Quadro – Our Story

https://quadroshop.co.uk/pages/our-story
1•nmstoker•44m ago•1 comments

Fluendora: The Realm of Scribes

https://fluendora.com
1•lizzrikGames•46m ago•1 comments

Self-hosted S3 after MinIO: lightweight alternatives for 2026

https://productimpossible.com/articles/self-hosted-s3-after-minio/
1•sebakubisz•47m ago•0 comments

Verantyx – A native IDE that obfuscates code before sending it to Cloud LLMs

https://github.com/Ag3497120/verantyx
1•kofdai•49m ago•0 comments

My site "Works on My Machine" didn't work on my machine for two days

https://worksonmymachine.io/posts/001-this-site/
1•mcpoowl•49m ago•0 comments