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.

1•adilkhanovkz•30s ago

Chinese Courts Rule Companies Cannot Fire Workers Simply to Replace Them with AI

https://www.caixinglobal.com/2026-04-30/chinese-courts-rule-companies-cannot-fire-workers-simply-...
2•virgildotcodes•4m ago•0 comments

The Rotary Un-Smartphone

https://skysedge.com/telecom/RUSP/index.html
2•tzury•8m ago•0 comments

Gremlin

https://en.wikipedia.org/wiki/Gremlin
2•jumploops•8m ago•0 comments

The Ethiopian Running Secret

https://aeon.co/essays/what-ethiopian-running-says-about-the-limits-of-human-ability
2•rifish•11m ago•0 comments

Learning my lesson that Python virtual environments aren't always movable

https://utcc.utoronto.ca/~cks/space/blog/python/VenvsNotEntirelyMovable
1•ingve•13m ago•0 comments

Raspberry Pi: A Foundation Model in Your Pocket – Colossus

https://colossus.com/article/raspberry-pi-eben-upton/
1•rbanffy•16m ago•0 comments

Meta Just Killed Open-Source AI

https://www.utkarshapoorva.com/writing/meta-llama-trap/
1•utkarsh_apoorva•19m ago•0 comments

RexIDE now has minimal "integration" with Codex App [video]

https://www.youtube.com/watch?v=K3j8ydsLfWs
1•tomerbd•23m ago•0 comments

Xmemory: Benchmarking Structured AI Memory Against RAG and Hybrid RAG

https://arxiv.org/abs/2604.27906
1•alex_petrov•31m ago•0 comments

Ukraine Overtakes US, 6 EU Countries in Press Freedom Index

https://kyivindependent.com/ukraine-overtakes-united-states-on-press-freedom/
2•dgellow•37m ago•0 comments

Advanced Quantization Algorithm for LLMs

https://github.com/intel/auto-round
1•lastdong•37m ago•0 comments

From Taxman to VATmiraal: Fifty Years of Teaching Machines the Law

https://vatmiraal.be/blog/from-taxman-to-vatmiraal
1•triska•38m ago•1 comments

Show HN: A minimal snippet sharing service with API, CLI, and web front end

https://github.com/skorotkiewicz/snip
1•modinfo•38m ago•0 comments

Meta Launches USDC Creator Payouts on Solana and Polygon via Stripe

https://stablecoinbrief.substack.com/p/meta-launches-usdc-creator-payouts
3•knivef•39m ago•0 comments

A TypeScript Implementation of FastCGI

https://github.com/Swatto/node-fastcgi
1•swatt0•39m ago•0 comments

CapEx ≥ Revenue Visibility:The new bar the market just set

https://twitter.com/oswarld_oz/status/2050080691694850328
2•haebom•40m ago•0 comments

SystemD is of out of control. The Best Minimal, Modern, Linux alternative

https://grigio.org/systemd-is-of-out-of-control-the-best-minimal-modern-and-modular-linux-alterna...
3•grigio•42m ago•3 comments

Ubuntu is going all in on Generative AI and other Linux distros might follow

https://www.neowin.net/news/ubuntu-is-going-all-in-on-generative-ai-and-other-linux-distros-might...
2•bundie•47m ago•0 comments

AI and decomp project used to port Super Smash Bros to PC

https://github.com/JRickey/BattleShip
1•tnelsond4•50m ago•0 comments

Bouncy – A small Rust web scraper with built-in MCP support

https://github.com/maziarzamani/bouncy
1•mazzamani•50m ago•0 comments

AI will dissolve human civilization as we know it

https://www.newstatesman.com/culture/books/book-of-the-day/2026/04/ai-will-dissolve-human-autonomy
2•thinkingemote•53m ago•0 comments

Employers are blindsiding candidates with AI interviews–and scaring them off

https://www.fastcompany.com/91534397/employers-are-blindsiding-candidates-with-ai-interviews-and-...
2•geox•55m ago•0 comments

Price of Free Gmail

https://www.forbes.com/sites/zakdoffman/2026/04/28/price-of-free-gmail-how-much-your-google-accou...
3•nreece•58m ago•0 comments

96.8% of MCP tool descriptions don't warn the agent about destructive behaviour

https://policylayer.com/research/state-of-mcp-2026
4•liad•59m ago•0 comments

Signs of early life in post asteroid impact sites

https://www.nature.com/articles/s43247-026-03206-7
3•albertgoeswoof•59m ago•0 comments

Is `cal` broken? What happened in September 1752?

https://unix.stackexchange.com/questions/17903/is-cal-broken-what-happened-in-september-1752
2•vismit2000•1h ago•1 comments

Show HN: WhatCable, a tiny menu bar app for inspecting USB-C cables

https://github.com/darrylmorley/whatcable
8•sleepingNomad•1h ago•0 comments

Show HN: SelectAndTranslate – Build vocabulary from anything you read (free)

https://selectandtranslate.z7.web.core.windows.net/
1•yanahackernews•1h ago•0 comments

Hype: List of latest ML Python repos,models and subreddits

https://hype.replicate.dev/
1•nalinidash•1h ago•0 comments