frontpage.
newsnewestaskshowjobs

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.

MSE – Why am I finding the Catalan numbers in these "Snowball Numbers"?

https://math.stackexchange.com/questions/5142872/why-am-i-finding-the-catalan-numbers-in-these-sn...
1•philipfweiss•57s ago•0 comments

12.4M US business registrations are free on state open-data portals

https://gist.github.com/BhackerJ/22a35fead8764782189c7a20c5ded0d7
1•chonghaoju•1m ago•1 comments

Are Humanoid Robots Ready to Be Deployed?

https://www.newyorker.com/magazine/2026/07/06/are-humanoid-robots-ready-to-be-deployed
1•tuxguy•5m ago•0 comments

Show HN: Disclosure Lookup – a Caido plugin that finds where to report a vuln

https://github.com/disclose/caido-lookup
1•caseyjohnellis•12m ago•0 comments

There's a Global Network of Fungi Under Your Feet This Is the First Complete Map

https://www.wired.com/story/theres-a-global-network-of-fungi-under-your-feet-this-is-the-first-co...
1•Jimmc414•16m ago•4 comments

Apple updates vended agent skills: Xcode 27 Beta 3

https://petegoldsmith.com/blog/2026-07-07-xcode-27-beta-3-agent-skills/
2•theraven•17m ago•0 comments

A Sad Kind of Convenience - The death of physical media

https://www.theatlantic.com/technology/2026/07/playstation-ends-discs/687770/
1•Bondi_Blue•17m ago•1 comments

Show HN: Lingbot Vision – Self-Supervised Dense Perception (0.296 NYUv2 RMSE)

https://technology.robbyant.com/lingbot-vision
1•Kajaking•17m ago•0 comments

Balancing Claude 4.8 with GLM 5.2 in mid-level Coding Agent structuring prompts

https://cimons.com/article/balancing-claude-with-glm-5-2-in-mid-level-coding-agent-structuring-pr...
1•etcimon•17m ago•1 comments

Snap sued by parents of girl who was raped by man she met on Snapchat

https://www.latimes.com/business/story/2026-06-25/snap-sued-by-parents-of-girl-who-was-raped-by-m...
2•1vuio0pswjnm7•17m ago•0 comments

CapTablex: Open-source cap table managment in Elixir

https://github.com/captablex/captablex
1•rayrrr•25m ago•1 comments

A Mom Said Infant Formula Killed Her Baby. The Manufacturer Closed the File

https://kffhealthnews.org/health-industry/infant-formula-adverse-events-nec-baby-deaths-fda-repor...
1•Jimmc414•26m ago•0 comments

U.S. vs. Live Nation: Proposed Final Judgment and Competitive Impact Statement

https://www.federalregister.gov/documents/2026/07/06/2026-13623/united-states-et-al-v-live-nation...
1•Jimmc414•27m ago•0 comments

Show HN: My 11 year old daughter and I build this DQ8 style game on macOS

https://code.intellios.ai/cedricsquest/
1•coolwulf•28m ago•1 comments

PyPI Downloads accuracy

https://pepy.tech/projects/finops-mcp
1•chaandannn•28m ago•0 comments

Atlanta-based company saved $100k by replacing Salesforce with Replit-built CRM

https://twitter.com/amasad/status/2074274666709987663
1•backlit4034•28m ago•1 comments

Xbox cuts 3,200 jobs as gaming business struggles

https://www.latimes.com/entertainment-arts/business/story/2026-07-06/xbox-cuts-3-200-jobs-as-part...
1•1vuio0pswjnm7•34m ago•0 comments

A field guide to Claude Fable 5: Finding your unknowns

https://claude.com/blog/a-field-guide-to-claude-fable-finding-your-unknowns
1•geoffbp•35m ago•0 comments

AI's Volatile Power Use Tests Grid Limits

https://spectrum.ieee.org/data-centers-grid-instability
2•pseudolus•35m ago•0 comments

Microsoft's Xbox to Cut 3,200 Jobs, Divest Five Studios in Major Overhaul

https://www.bloomberg.com/news/articles/2026-07-06/microsoft-s-xbox-to-cut-3-200-jobs-divest-five...
1•1vuio0pswjnm7•37m ago•0 comments

Llamas on the Web

https://reeselevine.github.io/llamas-on-the-web/
1•thesimpleone•49m ago•0 comments

DARPA program to make 30 yr batteries for drones from nuclear waste

https://www.defenseone.com/technology/2026/07/these-light-weight-power-cells-run-nuclear-waste-an...
2•Gaishan•50m ago•0 comments

Why "a nice place to work" doesn't just happen

https://twitter.com/nithin0dha/status/2074098865511563473
2•dsr12•52m ago•0 comments

Unis are relying on AI-detection software to catch cheating. Does it work

https://www.nature.com/articles/d41586-026-01358-2
2•gnabgib•58m ago•1 comments

Amor Fati Entropy

https://hollisrobbinsanecdotal.substack.com/p/amor-fati-entropy
1•HR01•58m ago•0 comments

Show HN: Sel – macOS screen sharing that shows only the windows you pick

https://sel.toron.dev
1•ariaghora•1h ago•1 comments

Custom coreboot firmware (and utilities) for your Chromebook/Chromebox

https://docs.mrchromebox.tech/
1•lwhsiao•1h ago•0 comments

Karpathy, Google, Tan agree Markdown is the answer, but not for the same problem

https://thenewstack.io/markdown-agent-memory-moat/
2•theanonymousone•1h ago•0 comments

How to Design a Cancer Vaccine

https://www.owlposting.com/p/how-to-design-a-cancer-vaccine-and
4•iskander•1h ago•0 comments

Undertuber YouTube Underground Search Engine

https://github.com/BooleanMuse/Undertuber-Underground-Youtube-Search-Engine
4•skarmuse•1h ago•1 comments