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.

How many of us are evaling our skills?

https://github.com/BintzGavin/apastra
1•GavinBintz•28s ago•0 comments

Attacking your competitors online is dumb

https://posthog.com/blog/why-attacking-competitors-is-dumb
1•herbertl•4m ago•0 comments

Reality emerges: What is the Universe made of?

https://aeon.co/essays/why-reality-is-more-than-the-sum-of-its-particles
2•herbertl•8m ago•0 comments

Ask HN: Are we observing the death of social networks?

2•fullstacking•8m ago•0 comments

Loxai.tech – Gen AI's frontier of individuality

2•audreyfei•9m ago•0 comments

US trade court rules against Trump's 10% global tariffs

https://www.reuters.com/world/us-trade-court-rules-against-trumps-10-global-tariff-2026-05-07/
3•JumpCrisscross•10m ago•0 comments

Marc Andreessen Egg Game

https://marc-egg.eieio.games/
3•HotGarbage•11m ago•0 comments

Structured Procrastination

https://www.structuredprocrastination.com/
3•biscuits1•11m ago•1 comments

Ask HN: What will happen as AI costs increase?

2•MetaWhirledPeas•14m ago•0 comments

David Attenborough's 100 Years on Planet Earth

https://www.royalalberthall.com/tickets/events/2026/david-attenboroughs-100-years-on-planet-earth
2•smusamashah•14m ago•0 comments

cuda-oxide: a custom rustc backend for compiling GPU kernels in pure Rust

https://github.com/NVlabs/cuda-oxide
2•matt_d•15m ago•0 comments

Anthropic donates Petri open-source alignment tool

https://www.anthropic.com/research/donating-open-source-petri
2•dragonstyle•15m ago•0 comments

Qualcomm Hexagon V81 HMX Programmer's Reference Manual [pdf]

https://docs.qualcomm.com/doc/80-N2040-62/80-N2040-62_REV_AA_Qualcomm_Hexagon_V81_HMX_Programmers...
2•my123•19m ago•0 comments

Agent readability for the web (lightspeed benchmark for agents)

https://a14y.dev/
2•ghuntley•21m ago•0 comments

UK has wealthy Europe's '3rd-highest' rate of young adults not in work or study

https://www.theguardian.com/money/2026/apr/28/uk-has-wealthy-europes-third-highest-rate-of-18-to-...
2•PaulHoule•22m ago•0 comments

Cloudflare lays off 1,100 employees (~20% of workforce)

https://finance.yahoo.com/markets/stocks/articles/cloudflare-announces-first-quarter-2026-2015007...
14•gcr•23m ago•4 comments

Please Delete Your Repository

https://www.threads.com/@origsaeny/post/DYCBoN4CqOc
2•zane__chen•27m ago•0 comments

To the Surprise of No One, Cops Are Using ALPR Cameras to Stalk Their Exes

https://www.techdirt.com/2026/05/07/to-the-surprise-of-no-one-cops-are-using-alpr-cameras-to-stal...
3•cdrnsf•28m ago•0 comments

Ozempic Is Killing Off Weight Loss Surgeries. That's a Problem

https://gizmodo.com/ozempic-might-be-killing-off-weight-loss-surgeries-thats-a-problem-2000754277
2•paulpauper•28m ago•0 comments

Larql: Run attention locally, FFN on another machine

https://github.com/chrishayuk/larql
2•modinfo•32m ago•0 comments

Better than I thought FREE IQ Test

https://myiq.fyi/r/uf38d26
2•SteveChurch•32m ago•0 comments

The Perverse Tyranny of a Perfect Transcript

https://www.theatlantic.com/ideas/2026/05/harvard-grade-inflation-gpa/687074/
2•paulpauper•32m ago•0 comments

Free AI UK car shopping advice

https://regadvisor.co.uk/
2•buttertoast•32m ago•1 comments

Cloudflare to cut 20% jobs, quarterly revenue forecast falls short

https://www.reuters.com/business/world-at-work/cloudflare-cut-over-1100-jobs-2026-05-07/
5•symisc_devel•34m ago•2 comments

AI #167: The Prior Restraint Era Begins

https://thezvi.substack.com/p/ai-167-the-prior-restraint-era-begins
2•paulpauper•34m ago•0 comments

A case study with Aeneas and jxl-rs

https://jonathan.protzenko.fr/2026/05/05/jxl-rs.html
2•matt_d•35m ago•0 comments

Top universities hit after Canvas breach

https://www.techradar.com/pro/security/top-universities-among-victims-named-in-canvas-data-breach...
6•JustSkyfall•37m ago•0 comments

Brandolini's Law

https://en.wikipedia.org/wiki/Brandolini%27s_law
2•nvahalik•37m ago•0 comments

Sleep polysomnography predicts 130 health conditions, including CVD

https://www.empirical.health/blog/your-sleep-could-predict-your-next-cardiovascular-event/
3•brandonb•38m ago•0 comments

More Than a Portfolio: Building a Scroll-Driven 3D World with Something to Say

https://tympanus.net/codrops/2026/04/28/more-than-a-portfolio-building-a-scroll-driven-3d-world-w...
2•shreedx•38m ago•0 comments