Live data from Hacker News

IBM Stops Server Side Swift Framework Development

forums.swift.org

81–90 of 99 posts

Re: IBM Stops Server Side Swift Framework Development

#81

FWIW I’d really like to see Swift available in more platforms. At the moment only MacOS and Ubuntu seem to be supported (*BSD and perhaps Windows would be very welcome)

Swift is also available on Fedora/RedHat/Centos 8; simply type “dnf install swift-lang”

* Disclaimer: I’m the packager for swift on those platforms.

Re: IBM Stops Server Side Swift Framework Development

#82
I think this is a very bad sign. Not necessarily because of Kitura (as others have mentioned, Vapor is more popular and quite active), but because IBM was the only major company that was at least somewhat invested in improving the server-side Swift ecosystem. Clearly, apple can't be bothered to fix some of the more serious issues with Swift on Linux.

Just look at the kinds of discussions that e.g. Ian Partridge has contributed to: https://forums.swift.org/u/ianpartridge/summary

It includes substantial work on Docker images, logging, crash debugging, etc.

Maybe google will become a bit more invested in the Swift on Linux side of things, but so far I haven't really seen them invest in the ecosystem (besides pushing differentiable programming, which is cool, but it's mostly satisfying a niche requirement).

Re: IBM Stops Server Side Swift Framework Development

#83
post #11
post #8

Earlier quoted context omitted.

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 ;-)

Swift is no more complicated than Haskell or Rust.

If you don't use complicated compiler extensions (which, to be fair, many people do), then Haskell's complexity is more compositional. There are not a lot of fundamental concepts you need to understand; it's just their combination that creates the complexity (such as typeclasses like Monad).

Swift's complexity feels much less compositional. There are still a lot of situations where I won't really know how certain features interact (especially when it comes to generics, associated types, etc.). Also, the documentation on some edge-cases is basically non-existant.

Re: IBM Stops Server Side Swift Framework Development

#84

Earlier quoted context omitted.

Prediction: React Native will be dead in 3 years.

Why? It's already been around for 5 years and has certainly grown in popularity.

Frankly, it's awful. Measuring performance apples to apples, React Native is nearly strictly slower than a web application on mobile. As PWAs gain feature parity, I think there will be little to no point to React Native. Because of a lack of JIT capabilities, React Native JS just can't run nearly as fast as React on the web for example. That, coupled with bad architecture. Too much is deferred - you have deferred batching in react, followed by more deferred batching to create native layouts. This results in poor responsiveness. For toy applications you may not notice, but the architecture simply doesn't scale.

Re: IBM Stops Server Side Swift Framework Development

#85
post #72

Earlier quoted context omitted.

Except last time i checked, flutter for web renders everything in a 2D canvas, which for some reasons doesn’t feel that great.

Would you care to educate me on why that is bad thing? (I'm a Jr web dev, it's not that obvious to me, although I suspect such a 'graphics-first' approach on the web leads to difficulties with resizing, responsive design, etc?)

We’ll see how it works out, but my guess is the end result is going to be the same as with every other platform flutter has integrated: it needs to perfectly replicate the behavior of every native UI component on every mobile os / browser otherwise it’ll feel something’s wrong. For example scrolling, right clicking, resizing, zooming, button click, link colors, css animations, are all behaviors that could have various subtle behavior variations depending on the browser and its content (not to mention extensions such as ad blockers).

Also, integrating with other js components will likely be impossible as well ( try to integrate the google maps js component into your layout... good luck)

And browsers update way way more often than mobile os.

Re: IBM Stops Server Side Swift Framework Development

#86

Earlier quoted context omitted.

Why? It's already been around for 5 years and has certainly grown in popularity.

Frankly, it's awful. Measuring performance apples to apples, React Native is nearly strictly slower than a web application on mobile. As PWAs gain feature parity, I think there will be little to no point to React Native. Because of a lack of JIT capabilities, React Native JS just can't run nearly as fast as React on the web for example. That, coupled with bad architecture. Too much is deferred - you have deferred bat…

> As PWAs gain feature parity, I think there will be little to no point to React Native I absolutely agree, but it'll take Apple more than a few years to be willing to make iPhones have native app/PWA feature parity.

> Because of a lack of JIT capabilities There's the new Hermes engine which should speed things up

The main reason React Native will stick around is that it lets React developers more easily transition to native, and there's a ton of React developers.

Re: IBM Stops Server Side Swift Framework Development

#87

FWIW I’d really like to see Swift available in more platforms. At the moment only MacOS and Ubuntu seem to be supported (*BSD and perhaps Windows would be very welcome)

Swift is also available on Fedora/RedHat/Centos 8; simply type “dnf install swift-lang” * Disclaimer: I’m the packager for swift on those platforms.

Nice! That was NOT the case when I last tried it, and I prefer RHEL-based distros when not using BSD. Thanks!

Re: IBM Stops Server Side Swift Framework Development

#88

Earlier quoted context omitted.

Frankly, it's awful. Measuring performance apples to apples, React Native is nearly strictly slower than a web application on mobile. As PWAs gain feature parity, I think there will be little to no point to React Native. Because of a lack of JIT capabilities, React Native JS just can't run nearly as fast as React on the web for example. That, coupled with bad architecture. Too much is deferred - you have deferred bat…

> As PWAs gain feature parity, I think there will be little to no point to React Native I absolutely agree, but it'll take Apple more than a few years to be willing to make iPhones have native app/PWA feature parity. > Because of a lack of JIT capabilities There's the new Hermes engine which should speed things up The main reason React Native will stick around is that it lets React developers more easily transition t…

My point is that React on web is already faster than React Native today (and it feels perfectly natural, in fact, better). The entire point of going to React Native in the first place was ostensibly for responsiveness/performance, and given that it gives neither, I don't see what purpose React developers have to switch (except that it gives the illusion of "speed").

Re: IBM Stops Server Side Swift Framework Development

#89
post #43

Earlier quoted context omitted.

The creator of Swift (and LLVM), Chris Lattner now works for Google. There’s already an experimental version of Tensorflow[1] for Swift. I personally believe that Swift will really shine in differentiable programming and thus machine learning. A little over a decade ago, most of the machine learning community was using either Matlab (and it’s open source clone Octave) or R. It took a long time for the machine learnin…

Julia is better suited for differentiable programming and machine learning. Something like frontend/scripting with Julia, and computing cores with Rust, as an alternative to the ubiquitous Python + C/C++ stack. And there are already more or less established frameworks for Julia: - FluxML[1] for machine learning - Zygote[2] for differentiable programming - Turing[3] for probabilistic programming - Rich support for GPU…

The guys in our group giggle at Hacker News. The only time they ever even hear about Julia, is when a Swift article shows up here... then all the Julia nerds come out of the woodwork.

Guessing the opposite rarely happens.

Re: IBM Stops Server Side Swift Framework Development

#90

Earlier quoted context omitted.

They examined both Julia and Rust, among others, before deciding to move forward with Swift for Tensorflow. https://github.com/tensorflow/swift/blob/master/docs/WhySwif...

Chris Lattner is leading the project, of course they're using the language he designed. Personally I think they substantially underestimated the difficulty of setting up a full technical computing ecosystem in Swift relative to Julia. But, fair enough, if I'd designed Swift I'd probably be dogfooding it too. Some previous discussions that mention the swift-vs-Julia decision: [1] https://news.ycombinator.com/item?id=1…

Actually this started before Lattner. Richard Wei kicked this off with his DLVM thesis.

Either way, Swift's functional design around a type system has some compiler implications towards solving larger problems that Julia probably will struggle with as it moves forward beyond the goal of just being a faster Python.

Post reply on HN