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.

MoneyRank – a daily 60-second game that scores your financial risk instincts

https://moneyrank.onrender.com/
1•abbster52•47s ago•1 comments

Vanderbilt University Plans New Campus in San Francisco

https://www.wsj.com/us-news/education/vanderbilt-san-francisco-cca-california-college-arts-expans...
1•noleary•1m ago•0 comments

Toyota remained top automaker by sales for 6th straight year in 2025

https://asia.nikkei.com/business/automobiles/toyota-remained-top-automaker-by-sales-for-6th-year-...
1•breve•1m ago•0 comments

Device that may be tied to "Havana Syndrome" obtained by U.S. government

https://www.cbsnews.com/news/device-havana-syndrome-obtained-by-u-s-government/
1•mhb•2m ago•0 comments

Why China Is Suddenly Obsessed with American Poverty

https://www.nytimes.com/2026/01/13/business/china-american-poverty.html
3•xnhbx•4m ago•1 comments

More Young Americans Are Unfit to Serve, a New Study Finds. Here's Why

https://www.military.com/daily-news/2022/09/28/new-pentagon-study-shows-77-of-young-americans-are...
1•paulpauper•5m ago•1 comments

Ask HN: Preserving knowledge long-term without a central authority

1•SERSI-S•6m ago•0 comments

Claude Coworks

https://thezvi.substack.com/p/claude-coworks
1•paulpauper•7m ago•0 comments

Former NYC Mayor Eric Adams accused of $2.5M rug pull as NYC Token crashes 80%

https://www.theverge.com/news/861269/former-nyc-mayor-eric-adams-accused-of-2-5-million-crypto-ru...
2•beeandapenguin•7m ago•1 comments

Show HN: Demo of Rust Lettre crate for sending email using SMTP

1•jph•8m ago•1 comments

Show HN: Agentic Equities – track ChatGPT sentiment around stocks

https://www.agenticequities.com/dashboard
1•subtlesoftware•9m ago•0 comments

AI Tools: Image Generation, Video Creation, Website Builders (2026)

https://curateclick.com/blog/2026-best-ai-tools-websites
2•czmilo•10m ago•1 comments

Show HN: Free WCAG accessibility scanner – EAA compliance deadline is June 2025

https://tryinclusiv.com
1•callally_colin•11m ago•0 comments

Even Linus Torvalds is trying his hand at vibe coding (but just a little)

https://arstechnica.com/ai/2026/01/hobby-github-repo-shows-linus-torvalds-vibe-codes-sometimes/
1•spaggot•12m ago•0 comments

Bake Oven Knob

https://en.wikipedia.org/wiki/Bake_Oven_Knob
1•forks•13m ago•0 comments

Phases of Vibe Coding

https://zergai.com/blog/4-phases-vibe-coding
1•idanb•14m ago•0 comments

NewPipe 0.28.1 released bringing tons of fixes and improvements

https://newpipe.net/blog/pinned/announcement/newpipe-0.28.1-released/
1•cyb0rg0•17m ago•1 comments

A Chrome extension plugin featuring a magical particle mouse cursor effect

https://chromewebstore.google.com/detail/crazy-cursor-magical-part/eejfljdgkaanachdckmpmfgjhncihfmd
1•spacedogs•18m ago•0 comments

The Killing Fields of Tehran

https://www.thefp.com/p/the-killing-fields-of-tehran
4•mhb•18m ago•1 comments

Logitech caused its mice to freak out by not renewing a certificate

https://www.theverge.com/news/857377/logitech-macos-logi-options-mouse-certification-fix
1•abdelhousni•22m ago•0 comments

AVX-512: First Impressions on Performance and Programmability

https://shihab-shahriar.github.io//blog/2026/AVX-512-First-Impressions-on-Performance-and-Program...
1•shihab•24m ago•0 comments

StackChan is a cute, community-build, open-source AI desktop robot(Crowdfunding)

https://www.cnx-software.com/2026/01/13/m5stack-stackchan-is-a-cute-open-source-ai-desktop-robot/
2•meganetaaan•24m ago•0 comments

Contrary to popular belief, EV sales growth continued to accelerate in 2025

https://electrek.co/2026/01/13/contrary-to-popular-belief-ev-sales-growth-continued-to-accelerate...
3•breve•25m ago•0 comments

CoreWeave Overhyped AI Computing Capacity After IPO, Suit Says

https://news.bloomberglaw.com/securities-law/coreweave-overhyped-ai-computing-capacity-after-ipo-...
1•zerosizedweasle•31m ago•0 comments

We may know what a healthy gut microbiome looks like

https://www.newscientist.com/article/2508109-we-may-finally-know-what-a-healthy-gut-microbiome-lo...
1•herbertl•34m ago•0 comments

Show HN: Vibe scrape with AI Web Agents, prompt => get data [video]

https://www.youtube.com/watch?v=ggLDvZKuBlU
4•arjunchint•36m ago•1 comments

Smaller houses can lead to happier lives

https://www.washingtonpost.com/climate-environment/2026/01/06/smaller-houses-happier-lives/
4•bigwheels•40m ago•4 comments

A quick blog template built using NextJS and SleekCMS

https://github.com/sleekcms/sleekcms-next-blog
1•yusufnb•44m ago•0 comments

Are You Dead?: The viral Chinese app for young people living alone

https://www.bbc.com/news/articles/c3381r5nnn6o
2•bookofjoe•44m ago•1 comments

China's green power in Angola: When clean energy comes with heavy debt

https://globalvoices.org/2025/12/17/chinas-green-power-in-angola-when-clean-energy-comes-with-hea...
2•PaulHoule•45m ago•0 comments