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•8mo 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.

It's hard to nake money from software alone

https://twitter.com/i/status/2011542744989077863
1•rohmanhakim•1m ago•0 comments

Unix v4 Source Code Commentary

https://github.com/unix-v4-commentary/unix-v4-source-commentary
1•todsacerdoti•2m ago•0 comments

ARPA-H launches program for the 46% of U.S. counties don't have a cardiologist

https://www.statnews.com/2026/01/13/arpa-h-advancing-clinical-agentic-ai-use-heart-disease/
2•brandonb•8m ago•0 comments

Ernesto Gurgle Velante

https://www.facebook.com/ernesto.gurgelvalente.3
1•PROPILS•8m ago•0 comments

SydBox – pank rock Rust scalpel alternative to Bubblewrap

https://gitlab.exherbo.org/sydbox/sydbox
2•dlahoda•10m ago•0 comments

GoldenEye (N64) has a fully-functional ZX Spectrum 48x emulator built into it

https://www.therwp.com/forums/showthread.php?t=48139
1•ForHackernews•11m ago•0 comments

How to make spamming us uncomfortable for LinkedIn and friends

1•zx8080•13m ago•1 comments

How Humans Became Microplastic

https://unherd.com/2024/11/how-humans-became-microplastic/
2•voxleone•14m ago•0 comments

Pi-Mono Coding Agent

https://github.com/badlogic/pi-mono
1•tin7in•14m ago•0 comments

Aura Farm Prompt – Free Aura Farm Prompts for ChatGPT, Gemini and AI Art

https://aurafarmprompt.org
1•john_mayor•14m ago•0 comments

Sadiq Khan to urge ministers to act over 'colossal' impact of AI on London jobs

https://www.theguardian.com/politics/2026/jan/15/sadiq-khan-to-urge-ministers-to-act-over-colossa...
2•veltas•22m ago•0 comments

We analyzed 3K K8s clusters: one config line costs millions

https://wozz.io/blog/kubernetes-memory-overprovisioning-study-2026
1•wozzio•22m ago•0 comments

Solving the Electroporation Bottleneck

https://press.asimov.com/articles/electroporation
1•mailyk•22m ago•0 comments

SRT Server Live Streaming Software

https://www.red5.net/srt-streaming/
1•mondainx•27m ago•0 comments

Cardputer uLisp Machine (2024)

http://www.ulisp.com/show?52G4
1•tosh•28m ago•0 comments

People who built Wikipedia, technically (2021)

https://en.wikipedia.org/wiki/Wikipedia:Wikipedia_Signpost/2021-01-31/Technology_report
1•todsacerdoti•30m ago•0 comments

X says Grok now blocks undress photo edits where theyre illegal

https://apnews.com/article/grok-musk-deepfake-nudification-abuse-f0d62ec68576dcfe203cada2424bd107
2•criexe•30m ago•0 comments

Show HN: Setflow – Create harmonically mixed DJ sets from your Rekordbox library

https://www.setflow.app/
1•stuartevansuk•33m ago•0 comments

Banning Things for Other People Is Easy

https://dogdogfish.com/blog/2026/01/14/banning-things-for-other-people/
2•matthewsharpe3•38m ago•0 comments

An Interview with United CEO Scott Kirby About Tech Transformation

https://stratechery.com/2026/an-interview-with-united-ceo-scott-kirby-about-tech-transformation/
1•feross•39m ago•1 comments

Show HN: Leaftide – Garden planner with climate-aware scheduling (Django/Htmx)

https://leaftide.com/
1•JoaoW•39m ago•0 comments

Nearly 5M Accounts Removed Under Australia's New Social Media Ban

https://www.nytimes.com/2026/01/15/world/australia/social-media-ban-australia.html
1•donohoe•41m ago•1 comments

Adding Dependency Injection to PdfDocument in iText

https://kb.itextpdf.com/itext/adding-dependency-injection-to-the-pdfdocument-cla
3•whizzx•41m ago•0 comments

Three from the same family killed in Iran

https://www.iranintl.com/en/202601155532
1•ukblewis•43m ago•0 comments

Chinese Universities Surge in Global Rankings as U.S. Schools Slip

https://www.nytimes.com/2026/01/15/us/harvard-global-ranking-chinese-universities-trump-cuts.html
6•mynti•44m ago•2 comments

Show HN: Merge Excel Files

https://www.mergeexcelfiles.online/
1•foxiren•46m ago•0 comments

I Failed Your Coding Test. I'd Fail It Again

https://medium.com/@danielbentes/i-failed-a-coding-interview-heres-why-i-m-not-going-back-afdc4d9...
2•fornbogi•48m ago•2 comments

Podcast: Chinese EVs are transforming the auto industry

https://podcasts.apple.com/us/podcast/chinas-ev-boom-with-tu-le/id1864408706?i=1000745265483
3•hunglee2•55m ago•1 comments

Steamosaic: Generate a mosaic of your Steam account

https://steamosaic.com/
1•delduca•58m ago•0 comments

LongCat ZigZag Attention

https://www.k-a.in/LoZA.html
2•everlier•58m ago•1 comments