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.

LUKSbox – Store sensitive files in the cloud without trusting the host

https://github.com/PentHertz/LUKSbox
1•danborn26•26s ago•0 comments

AI Gilfoyle

1•peterpommes•2m ago•0 comments

DuckDB-Delta Grows Up: Writes, Unity Catalog and Time Travel

https://duckdb.org/2026/05/07/delta-uc-updates
1•szarnyasg•3m ago•0 comments

Suits in 5 Nations Allege Apple Quashed "Watch Room" Competition

https://www.law.com/2026/05/08/suits-in-5-nations-allege-apple-quashed-watch-room-competition/
1•1vuio0pswjnm7•3m ago•0 comments

Accessibility of date formats (and superiority of YYYY-MM-DD)

https://mina86.com/2026/on-a11y-of-date-formats/
1•OuterVale•3m ago•0 comments

Trying a few ideas with rust and Python

https://github.com/KevinKenya/nairobi-connector-open-source/tree/main
1•kevinkenya•4m ago•0 comments

FCC Proposes Requiring Government-Issued ID for Phone Service [pdf]

https://docs.fcc.gov/public/attachments/DOC-421309A1.pdf
1•diogenes_atx•8m ago•1 comments

In search of wasted bits: how much information do LLM weights carry?

https://fergusfinn.com/blog/weight-entropy/
1•gmays•8m ago•0 comments

Sql2md – Zero-dependency SQL to Markdown converter (open source)

https://github.com/hyperbob/sql2md
1•sqlfans_qmejpi•9m ago•0 comments

Become the Place People Follow

https://www.researchterminal.ai
2•ipachanga•10m ago•0 comments

Rprom 7-fold Amiga 500/600/2000 from 6a/4.3 Kickstart Switcher configurable

https://www.retrobuddys.com/en/shop/amiga-hw-mods/amiga-2000-en/rprom-7-fold-amiga-500-600-2000-f...
1•doener•12m ago•0 comments

Show HN: I made an AI tool to keep my browser tabs clean

https://www.uncluttr.net
1•Nair0•16m ago•0 comments

Pinball Dreams

https://en.wikipedia.org/wiki/Pinball_Dreams
1•doener•17m ago•0 comments

The mangled remains of probes sent to Venus may still be there

https://www.scientificamerican.com/article/the-mangled-remains-of-probes-sent-to-venus-may-still-...
1•beardyw•18m ago•0 comments

Pentagon Wants Innovation. Small Businesses Want to Deliver. What's the Problem?

https://www.inc.com/issie-lapowsky/pentagon-wants-innovation-small-nimble-businesses-want-to-deli...
1•malloryerik•18m ago•0 comments

Malware Found in Trending Hugging Face Repository "Open-OSS/Privacy-Filter"

https://www.hiddenlayer.com/research/malware-found-in-trending-hugging-face-repository-open-oss-p...
1•aa_is_op•21m ago•0 comments

People and Timeline of Modern AI

https://senthil.learntosolveit.com/posts/2026/05/09/annotated-history-of-modern-ai-and-deep-learn...
1•orsenthil•22m ago•0 comments

Fake Pound Coin Database

https://www.thefakepoundcoindatabase.co.uk/
1•bhickey•24m ago•0 comments

Pushing Local Models with Focus and Polish

https://lucumr.pocoo.org/2026/5/8/local-models/
1•lumpa•26m ago•0 comments

Occupations with the Highest Divorce Rates

https://flowingdata.com/2026/05/07/divorce-and-occupation-2026/
1•lvnfg•27m ago•0 comments

The Shadow Admin Threat: AI Agents Creating Undetectable Backdoors

https://sharetxt.live/blog/the-shadow-admin-threat-how-autonomous-ai-agents-could-introduce-undet...
1•rexthonyy•30m ago•0 comments

The 28th Regime (EU)

https://the28thregime.eu/
2•dgellow•30m ago•0 comments

The left-wing case for AI

https://www.seangoedecke.com/the-left-wing-case-for-ai/
3•nsavage•32m ago•0 comments

LLM built for 12M-token reasoning

https://subq.ai/
1•tschibrillo•32m ago•0 comments

Ask HN: What's the most compelling paranormal evidence you found online?

3•johnnyfived•37m ago•1 comments

Let the Barbarians In

https://www.sigops.org/2026/let-the-barbarians-in-how-ai-can-accelerate-systems-performance-resea...
1•jruohonen•39m ago•0 comments

HTML/CSS/JS Viewer with full bidirectional code-preview highlighting

https://html-viewer.org
1•jackxmm•40m ago•0 comments

Extracting alignment data in open models

https://arxiv.org/abs/2510.18554
1•yakkomajuri•41m ago•0 comments

Show HN: Super ISO Updater

https://github.com/JoshuaVandaele/SuperISOUpdater
1•JoshuaVandaele•53m ago•0 comments

Show HN: Pace-coach watches your typing rhythm and nudges you when stressed

https://github.com/job-almekinders/pace-coach
1•Jobtimize•54m ago•1 comments