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.

AI Wrote the Code. Can Your Enterprise Ship It?

https://stackgen.com/blog/your-ai-wrote-the-code.-can-your-enterprise-actually-ship-it
1•SanjeevSharma•1m ago•0 comments

Ask.com shuts down after 30 years

https://mashable.com/article/ask-jeeves-shut-down
1•el_duderino•2m ago•0 comments

Berkshire Has a Website from the '90s and Buffett Fans Say Don't Mess with It

https://www.wsj.com/tech/personal-tech/berkshire-hathaway-shareholder-meeting-warren-buffett-greg...
1•firexcy•2m ago•0 comments

How the legal opium market shaped global trade - and led to an opioid crisis

https://www.bu.edu/articles/2026/how-the-legal-opium-market-led-to-an-opioid-crisis/
1•hhs•3m ago•0 comments

Former head of 'Pentagon's think tank' joins Anthropic

https://www.defenseone.com/technology/2026/05/former-head-pentagons-think-tank-joins-anthropic/41...
1•Jimmc414•5m ago•0 comments

Tesla owner won $10k in court for Tesla's FSD lies. Tesla is still fighting him

https://electrek.co/2026/05/02/this-tesla-owner-won-10k-in-court-for-teslas-fsd-lies-tesla-is-sti...
1•breve•7m ago•0 comments

Show HN: Language app with spaced repetition and comprehensible input

1•ChadNauseam•7m ago•0 comments

The Claude Delusion: Richard Dawkins believes his AI chatbot is conscious

https://www.dailygrail.com/2026/05/the-claude-delusion-richard-dawkins-believes-his-female-ai-cha...
1•SwellJoe•8m ago•0 comments

Google Summer of Code 2026 selected projects

https://blog.rust-lang.org/2026/04/30/gsoc-2026-selected-projects/
1•kazu11max17•10m ago•0 comments

AI agents are briefly overhyped

https://stevekrouse.com/agent-hype
1•stevekrouse•20m ago•0 comments

To Make Orchestras More Diverse, End Blind Auditions

https://www.nytimes.com/2020/07/16/arts/music/blind-auditions-orchestras-race.html
1•bilsbie•22m ago•0 comments

Meta faces New Mexico trial that could force change to Facebook, other platforms

https://www.reuters.com/legal/government/meta-faces-new-mexico-trial-that-could-force-changes-fac...
3•1659447091•31m ago•0 comments

The Race Is on to Find the Treasure Buried in San Francisco

https://www.nytimes.com/2026/05/02/us/san-francisco-buried-treasure-chest.html
1•mistersquid•34m ago•0 comments

AWS Lightsail's $0.09/GB Bandwidth Overage Is a Trap for Small Projects

https://galaxycloudsolutions.com/blog/aws-lightsail-vs-galaxy-cloud-solutions/
2•rougereaper420•36m ago•0 comments

With $1 Cyberattacks on the Rise, Durable Defenses Pay Off

https://spectrum.ieee.org/ai-cyberattacks-memory-safe-code
1•rbanffy•43m ago•0 comments

Coatue has a plan to buy up land for data centers, possibly for Anthropic

https://techcrunch.com/2026/05/01/coatue-has-a-plan-to-buy-up-land-for-data-centers-possibly-for-...
1•Brajeshwar•43m ago•0 comments

The Computer Programme Episode 1, 1982 [video]

https://archive.org/details/the_computer_programme_ep01
2•petethomas•44m ago•0 comments

Voice-AI-for-Beginners – A curated learning path for developers

https://github.com/mahimairaja/voiceai
2•mahimai•49m ago•0 comments

Restorative Yoga and the Biology of Belonging

https://parrik.com/puzzles/the-partition-problem/
1•parrik•49m ago•0 comments

Facepunch launches s&box, the highly anticipated successor to Garry's Mod

https://www.gamingonlinux.com/2026/04/facepunch-launches-s-box-the-highly-anticipated-successor-t...
5•embedding-shape•51m ago•1 comments

Dynamic Traefik configuration with multiple Docker hosts

https://blog.vasi.li/automating-mantrae-traefik-management-with-mantrae-agent/
2•vsviridov•52m ago•0 comments

Grinta – Local-first coding agent, 7 months solo, open source today

https://github.com/josephsenior/Grinta-Coding-Agent
1•YoussefMejdi•53m ago•1 comments

Trump's border wall expansion just bulldozed an ancient tribal site

https://www.washingtonpost.com/climate-environment/2026/04/30/border-wall-damage-indigenous-arizona/
5•gnabgib•55m ago•0 comments

What Is GStack? Gary Tan's Open-Source Startup Framework for Claude Code

https://www.mindstudio.ai/blog/what-is-gstack-gary-tan-claude-code-framework
2•evo_9•58m ago•0 comments

The physics slop that YouTube wants me to make [video]

https://www.youtube.com/watch?v=Cd5EHfRerGI
2•surprisetalk•1h ago•0 comments

Built this for my civil engineering firm's static site on Cloudflare Pages

https://github.com/bwengr/knowledge-base-spec
1•bwengr•1h ago•0 comments

How to run a cross-cutting campaign

https://parrik.com/puzzles/the-campaign-cascade/
1•parrik•1h ago•0 comments

NovAST

https://github.com/sharkkyyy10/NovAST
3•sharkkyyy10•1h ago•0 comments

The Apprehension Engine (2022)

https://guitar.com/features/interviews/the-apprehension-engine-most-terrifying-musical-instrument/
1•turtleyacht•1h ago•1 comments

A self was never flat

https://parrik.com/puzzles/know-thyself/
1•parrik•1h ago•0 comments