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.

Show HN: Watsn.ai – Bullshit Detector

https://watsn.ai/
1•flx1012•2m ago•0 comments

Walrus: Distributed message queue written in Rust

1•peterjkl•4m ago•1 comments

How Workplace Fashion Has Changed over the Decades

https://www.wsj.com/style/fashion/office-attire-changes-history-e6e9147b
1•fortran77•5m ago•1 comments

Show HN: GitHub Activity Analytics Powered by ClickHouse

https://velocity.clickhouse.com/#org=ClickHouse&metric=all_activity&range=all&grouping=auto&alexe...
1•saisrirampur•13m ago•1 comments

AI satisfies formal structural subjectivity in the S₀ protocol

https://github.com/jengbeng/ai-structural-subject
1•jengbeng•13m ago•1 comments

Google CEO Pushes 'Vibe Coding' – But Real Developers Know It's Not Magic

https://www.interviewquery.com/p/ai-coding-vibe-coding-explained
2•birdculture•14m ago•0 comments

OBR calls in cyber expert over botched release of Budget analysis

https://www.bbc.com/news/articles/cgmn991pz9jo
1•CharlesW•14m ago•0 comments

Indus River – Scientists may have solved why this ancient civilization vanished

https://www.washingtonpost.com/climate-environment/2025/11/27/indus-river-valley-civilization-cli...
1•pseudolus•17m ago•1 comments

Manus 1.5 Uses TiDB X to Let Agents Ship Full-Stack Apps at Scale

https://www.pingcap.com/blog/how-manus-1-5-uses-tidb-x-to-let-agents-ship-full-stack-apps-at-scale/
2•ngaut•18m ago•0 comments

Is There an AI Bubble?

https://www.deeplearning.ai/the-batch/issue-329/
2•gmays•28m ago•1 comments

Gray wolf reeled in a crab trap with a rope

https://www.popsci.com/environment/wolf-uses-tool-video/
1•geox•30m ago•0 comments

Rope science, part 11 – practical syntax highlighting (2017)

https://xi-editor.io/docs/rope_science_11.html
2•todsacerdoti•31m ago•0 comments

Ask HN: White Label Chat Apps?

1•stonedge•33m ago•0 comments

A triangle whose interior angles sum to zero

https://www.johndcook.com/blog/2025/11/28/tricusp-triangle/
10•tzury•38m ago•6 comments

Virtual MCP Servers: A Use Case-Driven Solution to Tool Overload

https://www.pulsemcp.com/posts/virtual-mcp-servers-and-gateways
1•jngiam1•39m ago•0 comments

What a federal ban on THC-infused drinks and snacks could mean for hemp industry

https://apnews.com/article/hemp-thc-drinks-ban-law-8d77842cb250291a178db6f9d39f8b7e
4•petethomas•45m ago•0 comments

Show HN: Free PPT generator after NotebookLM removed the feature

https://ppt.gbase.ai
1•jinfeng79•45m ago•1 comments

Show HN: Sourcewizard – A wizard for generating integration specs

https://github.com/sourcewizard-ai/sourcewizard/tree/main/apps/planner-ui
3•mifydev•46m ago•8 comments

Air pollution may reduce health benefits of exercise

https://www.ucl.ac.uk/news/2025/nov/air-pollution-may-reduce-health-benefits-exercise
2•hhs•48m ago•0 comments

Investigating a Possible Scammer in Journalism's AI Era

https://thelocal.to/investigating-scam-journalism-ai/
1•jaredwiener•49m ago•0 comments

You Need More Lux (2023)

https://meaningness.com/sad-light-led-lux
1•turtleyacht•49m ago•0 comments

The tech behind Shopify BFCM globe this year

https://twitter.com/pushmatrix/status/1994241257497931944
1•xal•55m ago•0 comments

How the brain decides what to remember

https://www.rockefeller.edu/news/38658-how-the-brain-decides-what-to-remember/
1•hhs•1h ago•2 comments

Shipping Progressive Web Apps Everywhere

https://www.bbc.co.uk/webarchive/https%3A%2F%2Fwww.bbc.co.uk%2Fblogs%2Finternet%2Fentries%2F3533c...
2•imjacobclark•1h ago•0 comments

Just Use Postgres for Everything

https://www.amazingcto.com/postgres-for-everything/
4•b-man•1h ago•0 comments

Rare Near-Equatorial Tropical Cyclone Senyar Hits Aceh, Indonesia

https://en.tempo.co/read/2068942/tropical-cyclone-senyar-makes-rare-landfall-in-aceh
1•terryds•1h ago•0 comments

Show HN: Prompt Refiner – Lightweight Python lib to clean and compress LLM input

https://github.com/JacobHuang91/prompt-refiner
1•xinghaohuang•1h ago•1 comments

GreyNoise IP Check

https://check.labs.greynoise.io/
2•kekqqq•1h ago•0 comments

Evolution Strategies at the Hyperscale

https://arxiv.org/abs/2511.16652
2•azhenley•1h ago•0 comments

Nvidia ToolOrchestra – 8B model "manager" improves intelligence and efficiency

https://arxiv.org/abs/2511.21689
1•hereme888•1h ago•0 comments