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.

The unflattering secrets revealed so far in Elon Musk's latest legal feud

https://www.washingtonpost.com/technology/2026/04/23/musk-altman-lawsuit-trial-openai/
1•1vuio0pswjnm7•2m ago•0 comments

Complexity in a Systems Engineering Context(2019) [pdf]

https://www.sei.cmu.edu/documents/4245/2019_017_001_552583.pdf
1•o4c•2m ago•0 comments

The Downgrading of the American Tech Worker

https://nymag.com/intelligencer/article/after-layoffs-meta-is-training-ai-on-its-own-workers.html
1•sizzle•2m ago•0 comments

Perplexity Builds Accuracy into Frontier AI

https://www.perplexity.ai/hub/blog/how-perplexity-builds-accuracy-into-frontier-ai
2•gmays•5m ago•0 comments

PTP/1.0 – Prompt Transport Protocol

https://gpt.gekko.de/ptp-prompt-transport-protocol-rfc/
1•ekadagami•7m ago•0 comments

pnpm v11 Released

https://pnpm.io/blog/releases/11.0
1•sebws•7m ago•0 comments

SanDisk open-sources accelerated SSD pre-conditioning algorithm

https://www.blocksandfiles.com/flash/2026/04/28/sandisk-open-sources-accelerated-ssd-pre-conditio...
1•tanelpoder•7m ago•0 comments

What If Your OS Could Think?

https://github.com/AFKmoney/nexusOS
1•canaddons•8m ago•0 comments

Swift on Nvidia Jetson

https://mihaichiorean.com/blog/hard-part-of-swift-on-jetson/
1•mihaichiorean•14m ago•0 comments

Musk Testifies OpenAI Was Created as Nonprofit to Counter Google

https://www.cnbc.com/2026/04/28/openai-trial-elon-musk-sam-altman-live-updates.html
3•m463•19m ago•0 comments

Voxels in R3forth

https://www.reddit.com/r/Forth/s/wf7M7hV779
1•rickcarlino•21m ago•0 comments

State Dept. Finalizing Plan to Put Trump Picture on U.S. Passports

https://www.thebulwark.com/p/exclusive-state-dept-finalizing-plan
3•mikhael•21m ago•0 comments

Warp is now open-source

https://twitter.com/zachlloydtweets/status/2049154460039979268
1•dsr12•21m ago•1 comments

Personal Loan EMI Calculator – Check EMI Online – SMFG India Credit

https://www.smfgindiacredit.com/personal-loan-emi-calculator.aspx
1•saumyaraut11•32m ago•0 comments

AI Sandboxes with Memory

1•ajaysheoran2323•33m ago•0 comments

Google co-founder Sergey Brin says he fled socialism, rips billionaire tax

https://nypost.com/2026/04/27/us-news/google-co-founder-sergey-brin-says-he-fled-socialism-in-sta...
5•1vuio0pswjnm7•33m ago•3 comments

Omeka S: a platform for digital cultural heritage collections and resources

https://omeka.org/s/
1•the-mitr•33m ago•0 comments

Artificial Inteligence that works (maybe)

https://github.com/thepoorsatitagain/Artificial-Inteligence-that-works-maybe-./blob/main/README.md
1•thepoors•35m ago•0 comments

icloud-backup: The iCloud backup tool I always wanted

https://github.com/evantahler/icloud-backup
3•evantahler•36m ago•1 comments

Affinity gatekeeps MCP server; only available for Claude

https://www.affinity.studio/help/ai-connector-setup/
2•nik5•41m ago•2 comments

ChatGPT/Gemini can now draw on your screen to help you navigate complex software

https://sketchvlm.github.io/
6•septisum•43m ago•3 comments

Show HN: Plonk.world – Daily Geography Game

https://plonk.world/
1•plonk-er•46m ago•2 comments

Website is your first agent

https://nedkarlovich.com/writing/your-website-is-your-first-agent
1•birdwhistler•48m ago•0 comments

Ask HN: Google Account Is Being Deleted

2•14•51m ago•0 comments

Built a small side project to solve a tiny daily pain point

1•bbsclub•52m ago•0 comments

GitHub uses eBPF to improve deployment safety

https://github.blog/engineering/infrastructure/how-github-uses-ebpf-to-improve-deployment-safety/
1•geoffbp•52m ago•0 comments

Why AI Startup Offices in NYC Are Flashy but Mostly Empty

https://www.wsj.com/real-estate/commercial/why-ai-startup-offices-in-nyc-are-flashy-but-mostly-em...
1•petethomas•54m ago•0 comments

Full List of Cars with Soy-Based Wiring (2026 Update)

https://www.box-kat.com/blogs/box-kat-blog/full-list-of-cars-with-soy-based-wiring-2025-update
2•thunderbong•57m ago•0 comments

The versioned filesystem for AI agents

https://coregit.dev
2•AlenzhanJ•59m ago•1 comments

Show HN: Docktor – I put live window previews and widgets on the macOS 26 Dock

https://petercsauer.github.io/docktor-releases/
1•petercsauer•59m ago•0 comments