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

Rcarmo/kata: Repetition makes perfect

https://github.com/rcarmo/kata
1•rcarmo•54s ago•0 comments

Epstein, Israel, and the CIA: Iran-Contra Planes at Les Wexner's Base

https://www.dropsitenews.com/p/jeffrey-epstein-iran-contra-planes-leslie-wexner-pottinger-leese-a...
1•dluan•5m ago•0 comments

The 8 Worst Technology Flops of 2025 [MIT Review]

https://www.technologyreview.com/2025/12/18/1130106/the-8-worst-technology-flops-of-2025/
1•randycupertino•5m ago•0 comments

Bake Sales to Save Nature: Why Wall Street Conservation Survives

https://onlinelibrary.wiley.com/doi/full/10.1111/dech.70035
1•Biologist123•6m ago•0 comments

DraftKings forced to pay $923,000 to gambler who exploited glitch

https://notthebee.com/article/draftkings-forced-to-pay-bettor-923000-after-he-took-advantage-of-a...
1•nomilk•7m ago•0 comments

Show HN: AI Audience Platform for Practicing Public Speaking

https://spuai.github.io
2•speakupai•9m ago•0 comments

Ask HN: Has anyone used AI to write a full-length book?

1•eibrahim•12m ago•0 comments

A Reddit post blew Brown University shooting investigation wide open

https://news.sky.com/story/how-a-reddit-post-blew-brown-university-shooting-investigation-wide-op...
1•randycupertino•13m ago•1 comments

Gh-nvim-username-keywords: GitHub -mention Autocomplete in Your Neovim Editor

https://www.joshbeckman.org/blog/practicing/ghnvimusernamekeywords-github-mention-autocomplete-in...
1•bckmn•13m ago•0 comments

Using Pong as a stress test for compiler development

https://www.reddit.com/r/Compilers/s/ld2dR4LnFh
2•azhenley•13m ago•0 comments

Meta is testing a feature that makes you review accounts before following them

https://pbs.twimg.com/media/G8jnJOEWoAAOSB6?format=jpg&name=large
1•3Samourai•16m ago•0 comments

Microsoft made another Copilot ad where nothing works

https://www.theverge.com/report/847056/microsoft-copilot-ai-vision-pc-assistant-christmas-holiday-ad
2•Topfi•17m ago•0 comments

The post-GeForce era: What if Nvidia abandons PC gaming?

https://www.pcworld.com/article/3013044/the-post-geforce-era-what-if-nvidia-abandons-pc-gaming.html
1•pyprism•18m ago•0 comments

Mapping China's Surnames

https://www.andrewstokols.com/blog/460
1•fzliu•20m ago•0 comments

Show HN: Taupy – fast Python desktop apps without Electron

https://github.com/S1avv/taupy
2•s1jor•20m ago•0 comments

Chrome AI Playback: Deligtful, Wild and Disconcerting

https://blog.certisfy.com/2025/12/chrome-ai-playback-deligtful-wild-and.html
1•Edmond•21m ago•0 comments

More is different (1972) [pdf]

https://www.tkm.kit.edu/downloads/TKM1_2011_more_is_different_PWA.pdf
1•andsoitis•22m ago•0 comments

Show HN: Free Spelling Test Generator

https://minform.io/tools/spelling-test-generator
1•eashish93•23m ago•0 comments

Robotics Levels of Autonomy

https://newsletter.semianalysis.com/p/robotics-levels-of-autonomy
1•nowflux•24m ago•0 comments

NetBox 4.5 Beta

https://netboxlabs.com/blog/announcing-the-netbox-4-5-beta/
1•mrmrcoleman•24m ago•0 comments

Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer

https://stickerbox.com/
5•spydertennis•27m ago•0 comments

Astrophotography Target Planner: Discover Hidden Nebulas

https://astroimagery.com/techniques/imaging/astrophotography-target-planner/
1•kianN•27m ago•0 comments

Ken MacLeod on the life and work of the late sc-fi legend Iain M. Banks [video]

https://www.youtube.com/watch?v=r7OW6A8XCgg
3•petethomas•31m ago•0 comments

AI's Unpaid Debt: How LLM Scrapers Destroy the Social Contract of Open Source

https://www.quippd.com/writing/2025/12/17/AIs-unpaid-debt-how-llm-scrapers-destroy-the-social-con...
7•birdculture•34m ago•0 comments

React Server Components Explorer

https://overreacted.io/introducing-rsc-explorer/
1•elierotenberg•36m ago•0 comments

Adobe Photoshop Source Code (2013)

https://computerhistory.org/blog/adobe-photoshop-source-code/
2•rbanffy•37m ago•0 comments

Something Big Happened in 1998

https://openpath.quest/2025/something-big-happened-in-1998/
2•coloneltcb•38m ago•0 comments

An Existential Guide To: Making Friends

https://theshadowedarchive.substack.com/p/an-existential-guide-to-making-friends
1•FigurativeVoid•39m ago•0 comments

How PyTorch Generates Random Numbers in Parallel on the GPU

https://blog.codingconfessions.com/p/how-pytorch-generates-random-numbers
2•rbanffy•40m ago•0 comments

When Were Things the Best?

https://thezvi.wordpress.com/2025/12/19/when-were-things-the-best/
1•speckx•43m ago•0 comments