News for hackers. Stuff that matters.
Re:Swift on Windows by zerr on Tuesday September 22, 2020 @05:25PM (#24560125)
The toolchain requires Win10 - but can a resulting executable be deployed on Win7?
Re:Swift on Windows by zapzupnz on Tuesday September 22, 2020 @09:05PM (#24561884)
I'd be surprised if it could. Mainstream support for Windows 7 ended years ago, extended support ended this year. If the Swift community (or more accurately, the one guy in charge of the Windows port) bothers to support executables running on a deprecated version of Windows, that would come as a mighty surprise to me.

Still, you never know, it might manage to do it by fluke!

Re:Swift on Windows by ifmpx on Tuesday September 22, 2020 @09:56PM (#24562159)
Not to turn this into a contest but Rust officially supports windows 7. In fact I believe Rust fully supported windows XP too until very recently when they decreased platform support to supported-but-unbuilt-and-untested.

Another benefit of a community-driven language as aposed to a corporate-controlled one.

Re:Swift on Windows by zapzupnz on Tuesday September 22, 2020 @10:19PM (#24562281)
Or more likely because Rust was developed to support Windows 7 before it was deprecated; Swift never targeted Windows 7. Swift was open sourced in 2015, the year when Windows 7's mainstream support ended; at that time, Swift only targeted Mac OS X and Ubuntu.

Rust began as a project in 2010, Windows 7 was released in 2009.

Re:Swift on Windows by raphlinus on Tuesday September 22, 2020 @10:38PM (#24562394)
I think GP's comment is fair. The portability of Rust is of a completely different order of magnitude than Swift. I mean, people have actually gotten it running on Windows 98 SE. And on Windows, Rust has access to a rich winapi surface, nice COM wrappers (including semi-official support through Microsoft's com-rs), a WinRT projection. Not to mention that crates basically just work. Maybe it isn't a first-class supported language for Windows just yet, but it's starting to feel pretty close.
Re:Swift on Windows by oaiey on Wednesday September 23, 2020 @12:54AM (#24563118)
This Rust/WinRT translation is the key for Windows maturity now. C translation is the everywhere basic but Windows support is achieved with eh WinRT translation.

And right now, that is C++, JS, Rust and .NET. Not more not less.

Re:Swift on Windows by zerr on Wednesday September 23, 2020 @03:21AM (#24563995)
Win7 Extended Security Update (ESU) is active until 2023. Besides, Win7 market share is still almost 1/3 of desktop OS market - most of the devs who target Windows wouldn't want to drop Win7.