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.

Only Five Cars a Year, 100% Handmade, Tuksedo Garage Builds New Icons [video]

https://www.youtube.com/watch?v=A4pJhtKBl9A
1•gpi•24s ago•0 comments

Ask HN: How to deploy Claude agent SDK?

1•spacemnstr42069•3m ago•0 comments

I Love Woodworking

https://a.wholelottanothing.org/i-absolutely-love-woodworking/
1•octavore•3m ago•0 comments

The Asheville-NYC-SFBA Triangle

https://tasshin.com/blog/the-asheville-nyc-sfba-triangle/
2•tasshin•4m ago•0 comments

AI and the Human Condition – Stratechery by Ben Thompson

https://stratechery.com/2026/ai-and-the-human-condition/
1•vinnyglennon•4m ago•0 comments

I'm Being Prosecuted for the Opposite of Insider Trading

https://www.wsj.com/opinion/im-being-prosecuted-for-the-opposite-of-insider-trading-3a7b5f85
1•7777777phil•8m ago•0 comments

Simulating Advanced Motion Symbolically

https://apps.neil-sawhney.com/articles/dynamics-simulations/
1•Neilsawhney•11m ago•0 comments

Looking for technical cofounder – guided, safety-critical maintenance software

2•SteveWShopBrain•11m ago•1 comments

Show HN: Vibes – Twitter for Claude Code (and Other AI Agents)

https://binora.github.io/vibes/
1•binora•12m ago•0 comments

Sidech.at – new form of chatting with message, phone or video and no signup

https://sidech.at
1•posteezy•13m ago•1 comments

Twan – A lightweight and adaptable separation kernel

https://github.com/MicroOperations/Twan
1•macrofusion•15m ago•1 comments

Rust's Downfall: From Rising Star to Rejected by Major Projects

https://freedium-mirror.cfd/Aaron0928/rusts-downfall-from-rising-star-to-rejected-by-major-projec...
6•e145bc455f1•17m ago•1 comments

The Fight to Keep Iran Online

https://www.nytimes.com/2026/01/15/technology/iran-online-starlink.html
1•mhb•17m ago•0 comments

Crosswalk signals were hacked because of a weak password – Palo Alto Daily Post

https://padailypost.com/2025/12/29/crosswalk-signals-were-hacked-because-of-a-weak-password/
2•vinnyglennon•17m ago•0 comments

I built an OS by vibing with Claude

https://old.reddit.com/r/vibecoding/comments/1qf46sc/i_built_an_entire_os_by_vibing_with_claude/
1•dobin•21m ago•0 comments

The Missing Apology

https://atmankalena.substack.com/p/the-missing-apology
1•Trifectorium•22m ago•1 comments

What's the real story with Australian rooftop solar?

https://www.volts.wtf/p/whats-the-real-story-with-australian
1•xbmcuser•23m ago•0 comments

Show HN: Autonomous AI code factory on Android/Termux

1•jltackett•23m ago•0 comments

Mogra – An AI with a Computer

https://mogra.xyz/
1•arbayi•27m ago•1 comments

After AI

https://newleftreview.org/sidecar/posts/after-ai?pc=1735
2•hirpslop•27m ago•1 comments

The shape of time: In the 19th century, it became linear

https://aeon.co/essays/when-we-turned-time-into-a-line-we-reimagined-past-and-future
2•bookofjoe•28m ago•0 comments

The Most Congested Cities

https://www.tomtom.com/traffic-index/ranking/
1•andsoitis•29m ago•0 comments

The recurring dream of replacing developers

https://www.caimito.net/en/blog/2025/12/07/the-recurring-dream-of-replacing-developers.html
3•glimshe•29m ago•1 comments

Rheo – EPUBs, websites, and PDFs from a single Typst source

https://github.com/freecomputinglab/rheo
3•breezykermo•30m ago•1 comments

Zerowriter Ink

https://zerowriter.ink/
2•kristianpaul•34m ago•1 comments

Show HN: go-stats-calculator, CLI for computing stats:mean,median,variance,etc.

https://github.com/jftuga/go-stats-calculator
2•jftuga•37m ago•0 comments

There's a Hit Movie Set Deep Inside an AI Lab–and It Will Give You Goosebumps

https://www.wsj.com/tech/ai/google-deepmind-documentary-youtube-thinking-game-732bfa06
2•fortran77•39m ago•1 comments

Something Important to Say

https://somethingimportanttosay.com
1•kilroy123•40m ago•0 comments

Dramatiq: A fast and reliable background task processing library for Python 3

https://github.com/Bogdanp/dramatiq
2•tosh•41m ago•0 comments

Alec – Adaptive compression codec for IoT, 90% data reduction

https://github.com/zeekmartin/alec-codec
1•alec_codec•42m ago•1 comments