News for hackers. Stuff that matters.
Re:Swift on Windows by skohan on Tuesday September 22, 2020 @05:06PM (#24559900)
In practice I don't think it's that confusing. You have a large standard library which is available everywhere, and then you have a set of proprietary API's which are only available on Apple platforms.

Is the situation that different from C# and windows API's?

Re:Swift on Windows by jarjoura on Tuesday September 22, 2020 @05:14PM (#24559986)
.Net 5 and C# 9.0 are very much 100% open all the way down to the core.

https://github.com/dotnet/roslyn (c#)

https://github.com/dotnet/winforms (UI) https://github.com/dotnet/wpf (UI) https://github.com/dotnet/core (Foundation)

I don't consider the Win32 API itself part of .NET or C# as they've existed long before either.

Re:Swift on Windows by djxfade on Tuesday September 22, 2020 @05:36PM (#24560232)
Exactly, and most of the proprietary libraries and frameworks in Swift are in the exact same situation. They are mostly wrappers around macOS and iOS libs and UIKit/AppKit
Re:Swift on Windows by Razengan on Wednesday September 23, 2020 @03:36AM (#24564116)
What about DirectX? And what’s the most common framework for Windows GUI apps anyway?

> I don't consider the Win32 API itself part of .NET or C#

SwiftUI isn’t “part” of Swift either, it’s a proprietary application of Swift, and it’s fucking amazing, I don’t want to work with any other framework now.