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

Comments

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

International students disappeared, Canada's rental and campus economies felt it

https://money.ca/news/economy/canada-international-students-economic-impact
1•Teever•3m ago•0 comments

Show HN: MobAI – AI-first mobile automation for iOS and Android

https://mobai.run/
1•interlap•4m ago•0 comments

ChatGPT ads are coming, a bellwether for free AI services

https://www.axios.com/2026/01/16/chatgpt-ai-openai-ads
2•Amorymeltzer•4m ago•0 comments

Show HN: Feedback Required)StudyBuddy–an AI-powered study companion for students

https://www.studybuddy.rest
2•zaizz•5m ago•1 comments

RTS for Agents

https://www.getagentcraft.com/
2•summoned•5m ago•0 comments

New Year, New Album: The Language of Love

https://justright.fm/albums/the-language-of-love
1•ddrscott•6m ago•1 comments

Earth from Space: The Fate of a Giant

https://www.esa.int/ESA_Multimedia/Images/2026/01/Earth_from_Space_The_fate_of_a_giant
3•geox•7m ago•0 comments

SkyVM: Instant desktop VMs from memory snapshots

https://skyvm.dev
2•jkelleyrtp•7m ago•0 comments

AI Generated Code Isn't Cheating: OSS Needs to Talk About It

https://blog.mozilla.ai/ai-generated-code-isnt-cheating-oss-needs-to-talk-about-it/
5•river_otter•8m ago•1 comments

Powell, an Unlikely Foil, Takes on Trump

https://bsky.app/profile/colbylsmith.bsky.social/post/3mckp2qhg3s2f
1•7777777phil•8m ago•1 comments

Hands-On Introduction to Unikernels

https://labs.iximiuz.com/tutorials/unikernels-intro-93976514
1•valyala•9m ago•0 comments

Graphics In Flatland – 2D ray tracing [video]

https://www.youtube.com/watch?v=WYTOykSqf2Y
3•evakhoury•9m ago•0 comments

Claude Cowork Is Now Available to Pro Subscribers

https://twitter.com/claudeai/status/2012215329070493971
2•lilsquid•12m ago•0 comments

Sync and Transcribe Voice Memos from Teenage Engineering's TP-7 Field Recorder

https://github.com/armynante/TP-7-VoiceSync
1•aarmenante•13m ago•1 comments

Show HN: Flickle – Daily Cinematography Game Built with Next.js (SSG, No DB)

https://www.flickle.co
1•rgb1903•14m ago•0 comments

Ask HN: Is sending a lot of requests but respecting rate limits DOSing?

1•SpyCoder77•15m ago•0 comments

Show HN: Readspeed – RSVP-style reading for your own text, PDFs, and links

https://readspeed.app
1•adrmonlj•17m ago•0 comments

OpenAI to Test Targeted Ads in ChatGPT

https://www.bloomberg.com/news/articles/2026-01-16/openai-to-test-targeted-ads-in-chatgpt-steppin...
4•imaginaryunit01•17m ago•2 comments

Ask HN: Analogy of AI IDEs for code vs. "AI IDEs" for personal health data

1•nemath•18m ago•0 comments

A Visual Introduction to Rectified Flows

https://alechelbling.com/blog/rectified-flow/
1•helblazer•18m ago•1 comments

OpenAI to Begin Testing Ads in ChatGPT in Push for Fresh Revenue

https://www.wsj.com/tech/ai/openai-to-begin-testing-ads-in-chatgpt-in-push-for-fresh-revenue-a5e0...
3•hodgesrm•19m ago•1 comments

OpenAI to begin testing ads on ChatGPT in the U.S.

https://www.cnbc.com/2026/01/16/open-ai-chatgpt-ads-us.html
11•koolba•19m ago•3 comments

The pirate-based logic of Rust shared references

http://ais523.me.uk/blog/logic-of-shared-references.html
2•josephcsible•19m ago•0 comments

Using a local DNS namespace for local service discovery

https://tech.stonecharioteer.com/posts/2026/homelab-dns/
1•stonecharioteer•19m ago•1 comments

Show HN: GraphOS Router, designed specifically for federated GraphQL workloads

https://www.apollographql.com/docs/graphos/routing/performance/caching/response-caching/overview
1•JTech2three•20m ago•0 comments

I'm leaking Tangle's internal communications

https://www.readtangle.com/leaking-tangle-internal-communications/
1•oregoncurtis•20m ago•1 comments

Show HN: The 1 Day Protocol – An app for 24-hour psychological excavation

https://the1dayprotocol.vercel.app
1•railing1024•21m ago•0 comments

Show HN: Web PWA unifying translate/FSRS Anki/conjugations

https://lekalearning.com/
5•watduyuwan•21m ago•0 comments

Website is hallucinated by AI in real time

https://hackernews.higashi.blog/
1•yuedongze•22m ago•1 comments

Our approach to advertising and expanding access to ChatGPT

https://openai.com/index/our-approach-to-advertising-and-expanding-access/
8•rvz•23m ago•1 comments