Live data from Hacker News

IBM Stops Server Side Swift Framework Development

forums.swift.org

31–40 of 99 posts

Re: IBM Stops Server Side Swift Framework Development

#31
post #8

Outside of iOS, is there really any traction for Swift development? It certainly feels like it is settling into an also-ran position. And really, mobile apps are turning out to be a dead-end, and people don't seem to be actually investing in native clients anymore, they just slap their website in a browser control.

As an Apple fan and a programming language nerd, I have basically no interest in ever using the language. I spend a lot of time in C++, Haskell, Rust, and Kubernetes, but Swift just feels pointlessly complicated to me. (C++ I think is also pointlessly complicated, but the rest at least have a point ;-)

To the sibling comments, here are some prior threads about other critiques of Swift:

https://news.ycombinator.com/item?id=17278175

https://news.ycombinator.com/item?id=15421073

https://news.ycombinator.com/item?id=13655125

Re: IBM Stops Server Side Swift Framework Development

#32
post #17

Pretty clear signal that there's low appetite for full stack development in Swift. What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders: - JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc) - Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS) - C# Blazor /…

I would also note that there are Blazor experiments going on right now for purposes of targeting things like Xamarin and WinUI (both official and unofficial), so one could potentially see Blazor as a single unified framework for all deployment targets on the Microsoft-side of the house in the not-too-distant future. The class partial support offered by the latest version of Razor Components would make it really easy to separate view logic depending on platform (you can use media queries & js interop to discover platform type on web). I.e. you could have MyComponent.razor w/ all the logic, and then MyComponent.Xamarin.razor, MyComponent.WinUI.razor, etc.

E.g.: https://github.com/Daddoon/BlazorMobile and some initial discussion https://github.com/aspnet/AspNetCore/issues/11471

Re: IBM Stops Server Side Swift Framework Development

#33
post #12

Apple really ought to invest more in server side Swift directly themselves. I feel like it has a lot of potential, and what the community has done with limited resources is impressive, but it's not really going to be able to gain substantial traction without a lot more weight behind it imo

These things take time. A lot of people at Apple are heavily invested in Swift on the server, including the Swift core team: https://swift.org/server/ Swift itself still needs time to mature, too. Things like the memory model, async/await, generics, etc. The future is bright, it will just require some patience to get there.

There seems to be very little promotional stuff about the runtime for server-side. What's the story with that for Swift?

I don't think many people are going to start learning Swift just to build servers with it unless the platform/runtime provides something special. Otherwise it'll stay isolated just to the current iOS devs.

Re: IBM Stops Server Side Swift Framework Development

#34
post #17

Pretty clear signal that there's low appetite for full stack development in Swift. What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders: - JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc) - Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS) - C# Blazor /…

Maybe OCaml/Reason?

Re: IBM Stops Server Side Swift Framework Development

#35
post #17

Pretty clear signal that there's low appetite for full stack development in Swift. What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders: - JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc) - Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS) - C# Blazor /…

Dart, if you consider Flutter an alternative to JS.

+1 for this, from a technical standpoint. Unfortunately there's just not a lot of interest in it (for end-to-end use, not just mobile). But some people who use it swear by it.

Re: IBM Stops Server Side Swift Framework Development

#37
post #24

Earlier quoted context omitted.

People are actually already building stuff in Rust / The frontend frameworks in Rust are surprisingly good, and I wouldn't be too surprised if this becomes a mainstream option at some point. That said, I generally find there isn't all that much advantage to sharing a frontend and backend language.

Yeah they're mentions because it's being done in small niches (there's also Ruby/Haxe + many other transpile to JS languages), I just think they'll always lag behind the other popular and well supported contenders listed. I could be wrong but that's my impression after having worked on all of them which all provide decent development development experiences and end results - though they vary in strength amongst the d…

So you list Dart as being well supported on the server side? Did I miss some killer app/framework recently?

Re: IBM Stops Server Side Swift Framework Development

#38
post #17

Pretty clear signal that there's low appetite for full stack development in Swift. What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders: - JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc) - Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS) - C# Blazor /…

More niche, but Scala is high quality for web/server/Android. (iOS is possible but not as good) Scala.js / Scala JVM / RoboVM

Pretty niche indeed. Have you actually pulled off a PWA + Android + iOS in Scala?

PWA is easy enough with Scala/Scala.js but I assumed that Android + iOS was a sufficiently painful process to warrant avoiding the attempt. Thought about mixing in Cordova or perhaps Ionic via the excellent ScalablyTyped typings library, but the path of least resistance is to just use TS on the frontend.

Re: IBM Stops Server Side Swift Framework Development

#39
post #37
post #24

Earlier quoted context omitted.

Yeah they're mentions because it's being done in small niches (there's also Ruby/Haxe + many other transpile to JS languages), I just think they'll always lag behind the other popular and well supported contenders listed. I could be wrong but that's my impression after having worked on all of them which all provide decent development development experiences and end results - though they vary in strength amongst the d…

So you list Dart as being well supported on the server side? Did I miss some killer app/framework recently?

Self-plug: https://angel-dart.dev

Re: IBM Stops Server Side Swift Framework Development

#40
post #17

Pretty clear signal that there's low appetite for full stack development in Swift. What are other promising future "end-to-end" (i.e. Web / Server / Mobile) development platforms are there? IMO these are the main contenders: - JS / node.js / React Native (Android/iOS) (+ other transpile 2 JS langs, e.g. TypeScript, Clojure, Scala, OCaml, etc) - Kotlin to JavaScript / JVM / Android / Kotlin Native (iOS) - C# Blazor /…

Is Kotlin Native any good?
Post reply on HN