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

Comments

xp84•8mo 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•8mo 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•8mo 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•8mo 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•8mo ago
Might make sense if you're an app developer but outside of that, even within that TBH, it's pretty niche.
manter•8mo 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•8mo 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.

I'm tired of Hacker News slop

https://blog.absurdpirate.com/im-tired-of-hacker-news-slop/
1•speckx•1m ago•0 comments

2026 Observability Predictions – Part 9

https://www.apmdigest.com/2026-observability-predictions-9
1•gpi•2m ago•0 comments

Flipper Zero and Raspberry Pi Banned from NYC Mayoral Inauguration

https://www.transition2025.com/inauguration
2•MisterTea•2m ago•1 comments

Windows 11 hack: Higher SSD speeds with new Microsoft NVMe driver

https://www.notebookcheck.net/Windows-11-hack-Higher-SSD-speeds-with-new-Microsoft-NVMe-driver.11...
3•akyuu•6m ago•0 comments

Coding Agent Is a Slot Machine

https://blog.kvit.app/posts/variance-claude-vibe/
2•skolos•6m ago•0 comments

Sun's gravitational lens could reveal alien planets' surfaces – Science – AAAS

https://www.science.org/content/article/sun-s-gravitational-lens-could-reveal-alien-planets-surfaces
2•rbanffy•8m ago•0 comments

Setting Up the AWS SDK for Rust

https://rup12.net/posts/learning-rust-configuring-the-aws-sdk/
2•ruptwelve•12m ago•0 comments

List of Programmers

https://en.wikipedia.org/wiki/List_of_programmers
2•andsoitis•16m ago•1 comments

How to Submit a ChatGPT App

https://www.adspirer.com/blog/how-to-submit-chatgpt-app
2•amekala•17m ago•0 comments

AI Feynman: A physics-inspired method for symbolic regression (2020)

https://www.science.org/doi/pdf/10.1126/sciadv.aay2631
2•lisper•18m ago•0 comments

The Comprehensive Cognition Blog

https://mateolafalce.github.io/
3•lafalce•20m ago•0 comments

Blasts from the past: The Soviet ape-man scandal (2008)

https://www.newscientist.com/article/mg19926701-000-blasts-from-the-past-the-soviet-ape-man-scandal/
2•cwwc•24m ago•0 comments

Call of Duty Co-Creator and EA Executive Vince Zampella Killed in Car Accident

https://www.ign.com/articles/call-of-duty-co-creator-respawn-co-founder-and-ea-executive-vince-za...
5•andsoitis•24m ago•1 comments

Qwen-Image-Layered: Layered Decomposition for Inherent Editablity

https://github.com/QwenLM/Qwen-Image-Layered
2•_____k•24m ago•0 comments

It's Always TCP_nodelay

https://brooker.co.za/blog/2024/05/09/nagle.html
3•eieio•25m ago•0 comments

Write code that you can understand when you get paged at 2am (2024)

https://www.pcloadletter.dev/blog/clever-code/
2•birdculture•26m ago•0 comments

The Solar System Loses an Ocean World

https://www.universetoday.com/articles/the-solar-system-loses-an-ocean-world
2•rbanffy•26m ago•0 comments

Anatomy of a Coding Agent: A step-by-step illustration

https://marginlab.ai/blog/anatomy-of-coding-agent/
2•qwesr123•27m ago•0 comments

When Were Things the Best?

https://thezvi.substack.com/p/when-were-things-the-best
2•paulpauper•27m ago•0 comments

Cultural Variety Is Crazy Hard to Fix

https://www.overcomingbias.com/p/cultural-variety-is-crazy-hard-to
2•paulpauper•27m ago•0 comments

2025 – Immich's Year in Review

https://immich.app/blog/2025-year-in-review
4•altran1502•28m ago•0 comments

Is the golden age of Indie software over?

https://successfulsoftware.net/2025/12/22/is-the-golden-age-of-indie-software-over/
3•hermitcrab•29m ago•1 comments

Reolink RLC-410-5MP IP camera reverse engineered technical details

https://github.com/hn/reolink-camera
2•hn___•29m ago•0 comments

Starlink in the crosshairs: How Russia could attack Elon Musk's conquer of space

https://www.adn.com/nation-world/2025/12/22/starlink-in-the-crosshairs-how-russia-could-attack-el...
3•rolph•31m ago•0 comments

Production Materials: Gotham City Streets Set from "Batman Returns" (2014)

http://www.1989batman.com/2014/12/production-materials-warner-brothers.html
3•exvi•32m ago•0 comments

Feds demand compromise on Colorado River while states flounder

https://nevadacurrent.com/2025/12/22/feds-demand-compromise-on-colorado-river-states-flounder-des...
5•mooreds•32m ago•1 comments

Biohybrid Tendons Enhance the Power-to-Weight Ratio and Modularity of Robots

https://advanced.onlinelibrary.wiley.com/doi/10.1002/advs.202512680
3•PaulHoule•32m ago•0 comments

Snowflake Postgres Is Now Available in Public Preview

https://www.snowflake.com/en/engineering-blog/postgres-public-preview/
2•craigkerstiens•32m ago•0 comments

My 2025 in Production in Review

https://newsletter.vickiboykis.com/archive/my-2025-in-production-in-review/
2•mooreds•34m ago•0 comments

Ifrro member Kopinor signs agreement on newspaper content for AI in Norway

https://ifrro.org/page/article-detail/ifrro-member-kopinor-signs-historic-agreement-on-newspaper-...
2•amarble•35m ago•0 comments