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.

Logseq Doctor: heal your flat old Markdown files before importing to Logseq

https://github.com/andreoliwa/logseq-doctor
1•ankitg12•3m ago•0 comments

Secureblue Goes SUID-Less

https://github.com/secureblue/secureblue/releases/tag/v4.9.1
1•Ganipote•6m ago•0 comments

Why Is It So Hard to Be Ordinary?

https://www.newyorker.com/culture/open-questions/why-is-it-so-hard-to-be-ordinary
2•littlexsparkee•13m ago•1 comments

One of my reliable signs that an early-stage company is in trouble

https://xcancel.com/marcrandolph/status/2057995577133351413?s=20
1•wapasta•14m ago•0 comments

Ask HN: Best Free Local STT?

2•thillel•15m ago•3 comments

John Cleese on Creativity in Management [video]

https://www.youtube.com/watch?v=Pb5oIIPO62g
1•kristiandupont•19m ago•0 comments

Why and How to Run Local Models in Zed

https://zed.dev/blog/local-ai-in-zed
2•ciconia•22m ago•0 comments

Ask HN: Is Codex serving worse models or is it just the harness getting worse?

2•thillel•23m ago•1 comments

Gelatine Sculpt Benefits for Weight Loss – Expert Guide 2026

https://finance.yahoo.com/sectors/healthcare/articles/gelatine-sculpt-exploding-2026-viral-142500...
1•rafyzaro•24m ago•0 comments

The CRPG Renaissance, Part 1: Fallout

https://www.filfre.net/2025/01/the-crpg-renaissance-part-1-fallout/
1•frogulis•28m ago•0 comments

Will MySpace ever lose its monopoly? (2007)

https://www.theguardian.com/technology/2007/feb/08/business.comment
5•downbad_•29m ago•1 comments

America's schools face backlash on digital devices as screens saturate classroom

https://www.boston25news.com/news/technology/americas-schools/XFNZQ73AT4Y3RCPO5A4AV3A6SU/
2•1vuio0pswjnm7•37m ago•0 comments

A New Typst Template for Pandoc

https://imaginarytext.ca/posts/2025/typst-templates-for-pandoc/
1•ankitg12•38m ago•0 comments

Show HN: Desktop GUI sandbox for AI agents and MCP servers

https://github.com/rednakta/nilbox
1•rednakta•38m ago•0 comments

Show HN: Versionparser – Java library for working with versioning schemes

https://github.com/cthing/versionparser
1•baron1405•41m ago•0 comments

You don't need all the LLM benchmarks

https://alex.smola.org/posts/34-benchmark-selection/
1•matt_d•46m ago•0 comments

How to Make xt850 Match xt 850

https://manticoresearch.com/blog/how-to-make-searches-like-xt850-match-xt-850/
1•snikolaev•46m ago•0 comments

Tech CEOs summoned to Congress for another hearing on social media's risks

https://apnews.com/article/tech-ceos-senate-hearing-zuckerberg-8c2c46758fd669e688170f96fa12a882
2•1vuio0pswjnm7•48m ago•0 comments

Noioaapps – our tools keep you informed (a dream)

https://medium.com/luminasticity/noioaapps-our-tools-keep-you-informed-43db36175f5d
1•bryanrasmussen•53m ago•0 comments

GPT Image 2 left me amazed but exhausted – so I built a little tool

https://imagesv2.ai
2•taoji•57m ago•0 comments

The terrifying rise of schoolboys making AI girlfriends

https://www.telegraph.co.uk/news/2026/05/25/schoolboys-ai-girlfriends/
2•Markoff•59m ago•1 comments

Self-Driving bus in Sweden crashes with tram on first day of passenger service

https://www.firstpost.com/auto/self-driving-bus-in-sweden-crashes-with-tram-on-first-day-of-passe...
4•Markoff•1h ago•0 comments

Notes on Pope Leo XIV's Encyclical on AI

https://simonwillison.net/2026/May/25/encyclical-on-ai/
28•pretext•1h ago•2 comments

The Little Go Book

https://github.com/karlseguin/the-little-go-book
2•saikatsg•1h ago•0 comments

Enhance or Eliminate? How AI Will Likely Change These Jobs

https://www.library.hbs.edu/working-knowledge/enhance-or-eliminate-how-ai-will-likely-change-thes...
1•_____k•1h ago•0 comments

NanoClaw creator turns down $20M buyout offer, raises $12M seed instead

https://techcrunch.com/2026/05/20/nanoclaw-creator-turns-down-20m-buyout-offer-raises-12m-seed-in...
4•doppp•1h ago•0 comments

The User Is Visibly Frustrated

https://pscanf.com/s/354/
17•croes•1h ago•2 comments

Real wages start to shrink in developed countries

https://www.ft.com/content/e126f744-3db9-4305-8871-31f83ebc4ed7
5•mikhael•1h ago•0 comments

The working definition of an Agent Endpoint

https://ianpilon.github.io/agent-endpoint/
1•ianpilon•1h ago•0 comments

New Google sheet favicon – but why?

2•jinen83•1h ago•2 comments