Live data from Hacker News

Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

infoq.com

61–70 of 308 posts

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#61

Wonder if some macOS only software will get ported to Windows once this happens. That if course is assuming there’s good support for the Windows APIs for building apps

When I started writing my Mac app, I made the somewhat nervous decision of going with Swift. So I am really quite excited to hear this news, since getting onto Windows is something I've always thought about as a possible future direction. Of course, there would be a ton of work to do, since many frameworks like Core Data etc are only available on Apple platforms…

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#62
post #9
post #2

This is really exciting. Every time I see something about Swift my thought process is "that looks like a lovely language but I don't build iOS/macOS apps, oh well". Maybe now I'll give it a real go. Fun fact: Graydon Hoare, the original inventor of Rust, now works at Apple on Swift.

That's an outdated but sadly common perception. TensorFlow for example is pushing Swift pretty hard: https://www.tensorflow.org/swift/ Disclaimer: I work at Google but not on TensorFlow.

Is tensoflow for swift even still a thing?

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#63

What’s the best resource to learn Swift? Should I grab a Bluetooth keyboard and go through Swift Playgrounds on iPad? Or is that more for children brand new to programming?

Paul Hudson's books and guides are very good. I churned through his "100 days of SwiftUI" a couple months ago, really liked it. https://www.hackingwithswift.com

Paul Hudson is the best, along with Ray Wenderlich’s stuff.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#64
XCode (and hence most of the useful parts of using the Apple development ecosystem) as of v11.4 won't install on Macs running Mojave it's actually better, in my view, to use Mono/C# and things like Xamarin than start off with Swift and think you can port the other way and not be forced into upgrading your laptop for the privilege of writing apps for Apple systems.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#65
post #25
post #16

Earlier quoted context omitted.

Ten years ago when I was offered a choice, I told the office manager I wanted a MacBook because of the trackpad. Apple’s trackpads are even better now. How has nobody figured out Apple’s 2010s trackpad technology?

How has nobody figured out Apple’s 2010s trackpad technology? I think because the focus is so much on the trackpad technology itself, which may be a misplaced focus. My fear is that the solution may involve rearchitecting the entire application-GUI stack to get it working on Linux. Why? Because Apple's trackpad is not a mouse emulator, it's a first class input device all the way up to the application. Trying to make…

It does involve the whole stack as explained here: https://pavelfatin.com/scrolling-with-pleasure/

Luckily Linux is closer to figuring it out than Windows and I'm watching several issues on libinput and wayland which are trying to address it.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#66

Off-topic, but I read the title as "Supported on Linux distributions including but not limited to Windows". Microsoft, you know what we want.

Windows switching to the Linux kernel would be wild, but I think we all know it's coming.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#67
post #47
post #40

> It is not clear at the moment if Apple has any plans to port Swift UI to Windows and/or Linux It seems pretty clear they have 0 plans on doing that. They could've open sourced it in the first place, along with Combine. Not open sourcing Combine seems like a pretty short sighted decision to me.

Swift wasn't originally open-source, either.

They announced that it would be open-source in the future almost immediately.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#68
> . It is hard to think that any Windows programmer would prefer Swift as a language over .NET languages, as many commenters pointed out on Reddit, but a port of Swift UI on Windows could be a game changer.

Everybody would jump to Swift [for new projects] if it meant a cross-platform GUI framework.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#69

XCode (and hence most of the useful parts of using the Apple development ecosystem) as of v11.4 won't install on Macs running Mojave it's actually better, in my view, to use Mono/C# and things like Xamarin than start off with Swift and think you can port the other way and not be forced into upgrading your laptop for the privilege of writing apps for Apple systems.

You can still get around this because it's still possible to run Hackintosh in a VM.

Re: Swift 5.3 Will Be Supported on Windows and Additional Linux Distributions

#70

> . It is hard to think that any Windows programmer would prefer Swift as a language over .NET languages, as many commenters pointed out on Reddit, but a port of Swift UI on Windows could be a game changer. Everybody would jump to Swift [for new projects] if it meant a cross-platform GUI framework.

Creating a good cross-platform GUI framework is probably harder than creating a good cross-platform language.
Post reply on HN