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

Comments

xp84•7mo 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•7mo ago
https://en.m.wikipedia.org/wiki/Mac_OS_X_Server
xp84•7mo ago
But that was dead by the time Swift came out. I apologize for my poor wording.
john_the_writer•7mo 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•7mo 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•7mo 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•7mo ago
Might make sense if you're an app developer but outside of that, even within that TBH, it's pretty niche.
manter•7mo 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•7mo 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•7mo 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.

Show HN: Meetinghouse.cc, a site to find and be found

https://meetinghouse.cc
1•simonsarris•1m ago•0 comments

Linux 6.19 Will Allow You to Write I2C Drivers in Rust

https://www.phoronix.com/news/Linux-6.19-I2C-Drivers-Rust
2•teleforce•3m ago•0 comments

The "Barbell Economy" – Visualizing the collapse of junior developer roles

https://ai-strategic-report.vercel.app/
1•ArthurDev•4m ago•1 comments

Butter-Bench: Evaluating LLM Controlled Robots for Practical Intelligence

https://arxiv.org/abs/2510.21860
1•prisenco•12m ago•0 comments

Building Rank'em: Model Orchestration Is the Skill I Didn't Know I Needed

https://ryanperry.io/post/building-rankem-dynamic-stack
1•Rperry2174•18m ago•0 comments

Ly – A lightweight TUI (ncurses-like) display manager for Linux and BSD

https://codeberg.org/fairyglade/ly
2•modinfo•20m ago•0 comments

Readeck – lets you save the content of web pages you like and keep forever

https://readeck.org/en/
2•modinfo•21m ago•0 comments

The Clade folding text editor

https://tibleiz.net/clade/
1•birdculture•21m ago•0 comments

The $260B Mom-and-Pop Funds Distorting the Credit Market

https://www.bloomberg.com/news/features/2025-11-30/the-260-billion-mom-and-pop-fixed-maturity-fun...
1•petethomas•24m ago•0 comments

Pony.ai Granted Citywide Driverless Robotaxi Permit in Shenzhen

https://humanprogress.org/pony-ai-granted-first-citywide-driverless-commercial-robotaxi-permit-in...
1•surprisetalk•26m ago•0 comments

Elite College Admissions

https://collisteru.substack.com/p/on-elite-college-admissions
1•surprisetalk•26m ago•1 comments

The Dangers of Ebikes

https://www.nytimes.com/2025/11/30/briefing/the-dangers-of-e-bikes.html
2•harambae•36m ago•0 comments

AI Threats Have Broken Strong Authentication

https://securityboulevard.com/2025/11/how-ai-threats-have-broken-strong-authentication/
1•mooreds•38m ago•0 comments

37-year-old quit her $390k Google job after saving up $1.5M

https://www.cnbc.com/2025/10/15/no-buy-checklist-helps-florence-poirel-save-money-in-switzerland....
2•mooreds•38m ago•0 comments

Could the US invade Venezuela? [video]

https://www.youtube.com/watch?v=svlAdZjxNeQ
1•mooreds•39m ago•0 comments

Flint Rockin' in Central Texas

https://www.pugetsoundknappers.com/interesting_stuff/Interesting%20Places/JM%20SoCentral%20Texas%...
2•doitLP•43m ago•1 comments

The Birth of the Performance Lab at Spring Health

https://medium.com/spring-health-engineering/the-birth-of-the-performance-lab-at-spring-health-76...
1•bob-surfs•44m ago•0 comments

The Differences Between an IndyCar and a F1 Car

https://www.openwheelworld.net/en/indycar101/76/IndyCar_vs_Formula_1_cars
1•1659447091•44m ago•0 comments

Blogging on My Gleam Experience: Compiling to Binary with Deno

https://caffeine-lang.run/blog/packaging-caffeine
1•bob-surfs•44m ago•0 comments

The Life Hunt for Red October

https://www.twz.com/sea/the-real-life-hunt-for-red-october-happened-50-years-ago
1•mauvehaus•48m ago•1 comments

Asteroid loaded with amino acids offers new clues about origin of life on Earth

https://phys.org/news/2025-11-asteroid-amino-acids-clues-life.html
4•pseudolus•52m ago•0 comments

What happens when you kick millions of teens off social media?

https://www.cnn.com/2025/11/29/australia/australia-social-media-ban-intl-hnk-dst
2•pseudolus•54m ago•0 comments

Agents Should Be More Opinionated

https://www.vtrivedy.com/posts/agents-should-be-more-opinionated/
1•emersonmacro•55m ago•0 comments

CPU-only PPO solving TSPLIB lin318 in 20 mins (0.08% gap)

1•jivaprime•1h ago•0 comments

Show IH: My App for Retail Investors

http://ultrajetsoftware.com
1•jm33077•1h ago•1 comments

Show HN: Fin2Cents – Learn investing by sandboxing portfolios with real data

https://www.fin2cents.com/
3•amywangyx•1h ago•0 comments

Linux 6.18 Released with Many New Features, Likely This Year's LTS Kernel

https://www.phoronix.com/news/Linux-6.18-Released
5•listic•1h ago•1 comments

New report examines how David Sacks might profit from Trump administration role

https://finance.yahoo.com/news/report-examines-david-sacks-might-213904399.html
4•zerosizedweasle•1h ago•0 comments

Show HN: Data lineage diagrams 10x faster than draw io

https://datadef.io
1•theolouvart•1h ago•0 comments

Show HN: The $1B problem with business cards nobody's solving properly

https://yenhyia.buzzchat.site/
2•abilafredkb•1h ago•0 comments