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•7mo ago

Comments

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

Rude Slop Behaviour

https://atharvaraykar.com/slop/
1•mogambo1•10s ago•0 comments

IKEA Mastered Furniture [video]

https://www.youtube.com/watch?v=0h8vAGCiRX0
1•vinhnx•29s ago•0 comments

Show HN: Page Cast – A single-file HTML host that hosts itself

https://gist.githack.com/Romelium/7513fc74536c3be15edf769cc416d10f/raw/4cebb56717ae4637de40403991...
1•Romelium•1m ago•0 comments

Titanic passenger's pocket watch sold for record £1.78M at auction

https://www.theguardian.com/uk-news/2025/nov/23/titanic-passenger-pocket-watch-sold-record-auction
1•stevekemp•3m ago•0 comments

Show HN: The AI homepage – A news homepage for AI related articles

https://www.theaihomepage.com/
1•maverick98•7m ago•0 comments

Game Theory Explains How Algorithms Can Drive Up Prices

https://www.wired.com/story/game-theory-explains-how-algorithms-can-drive-up-prices/
1•quapster•19m ago•0 comments

Microsoft says it will run Windows 11 File Explorer in background to load faster

https://www.windowslatest.com/2025/11/22/microsoft-says-it-will-always-run-windows-11-file-explor...
1•tosh•20m ago•0 comments

US Department of Transportation unveils first female-modeled crash test dummy

https://www.theguardian.com/world/2025/nov/21/transportation-department-first-female-crash-dummy
1•binning•20m ago•0 comments

The Many – and Contradictory – Histories of Mt. Rushmore

https://lithub.com/on-the-many-and-contradictory-histories-of-mt-rushmore/
1•bryanrasmussen•20m ago•0 comments

The battle between science and postmodernism: from Boyle's air pump to Dawkins

https://susanpickard.substack.com/p/the-battle-between-science-and-postmodernism
1•binning•24m ago•0 comments

Like the New Yorker but Better

https://thelambsconduitreview.neocities.org
1•rishirulzeworld•26m ago•0 comments

South Africa declares gender-based violence and femicide a national disaster

https://www.theguardian.com/society/2025/nov/22/south-africa-g20-protests-gender-based-violence-n...
2•binning•26m ago•0 comments

Show HN: I made it fast and easy to launch your own RAG-powered AI chatbots

https://www.chatrag.ai
1•carlos_marcial•27m ago•1 comments

Ask HN: Why GenAI is immoral but vibe coding is ok?

1•jb_briant•32m ago•2 comments

Russia's drone revolution heaps pressure on Ukrainian defenses

https://www.cnn.com/2025/11/22/europe/russia-rubicon-unit-drone-revolution-ukraine-intl-cmd
2•rguiscard•33m ago•0 comments

Should you dry someone else's abandoned laundry?

https://www.nytimes.com/interactive/2025/11/21/magazine/wet-laundry-hodgman-quiz.html
1•bookofjoe•35m ago•1 comments

Lando Norris, Oscar Piastri Disqualified from Las Vegas Grand Prix

https://www.formula1.com/en/latest/article/norris-and-piastri-disqualified-from-las-vegas-gp-as-m...
1•tosh•37m ago•0 comments

Show HN: A little browser game I made after seeing a viral dance video

https://immersivewarmup.com/
1•davidyu37•38m ago•0 comments

Alcove: An RSS Reader for the Open Web

https://bearblog.stevedylan.dev/alcove-an-rss-reader-for-the-open-web/
2•stevedsimkins•40m ago•0 comments

Let's focus on things we can control

https://ramezanpour.net/post/2025/11/22/worry-about-things-you-can-change
1•ramezanpour•42m ago•0 comments

Customer Service Pelita Air

1•Fransiskoelani•45m ago•11 comments

Ask HN: Do LLMs make you feel like you've lost your edge?

1•galfarragem•45m ago•2 comments

Gnome 49 Introduces Donation Request Notification

https://forum.zorin.com/t/gnome-49-introduces-donation-request-notification/54035
1•shaunpud•48m ago•0 comments

Silicon Valley startups: being evil, again and again

https://notesfrombelow.org/article/silicon-valley-startups-doing-evil-again-and-again
2•iSpiderman•49m ago•0 comments

Gum disease and tooth decay hit men harder – and now we know why

https://newatlas.com/health-wellbeing/gum-disease-inflammasome-males/
1•breve•49m ago•1 comments

Gnome Plans New Donation Reminder Pop-Up in Upcoming Release

https://linuxiac.com/gnome-plans-new-donation-reminder-pop-up-in-upcoming-release/
2•shaunpud•51m ago•0 comments

BeatsToRapOn – A music-only marketplace and AI tools for artists

https://beatstorapon.com
1•Chet-Fitzgerald•52m ago•1 comments

Olmo 3 is a fully open LLM

https://simonwillison.net/2025/Nov/22/olmo-3/
3•lumpa•53m ago•1 comments

Show HN: Video Notes for YouTube

https://chromewebstore.google.com/detail/video-notes/phgnkidiglnijkpmmdjcgdkekfoelcom
1•prameshbajra•56m ago•0 comments

Toad Attacks via Entra Guest Invites

https://taggart-tech.com/entra-toad/
1•computersuck•1h ago•3 comments