Apple’s software decisions over the last 15 years have created significant friction for developers trying to build on their platforms. Apple’s approach to software development has felt like it’s prioritizing business interests over the ease and flexibility that developers need to build high-quality, useful software.
Apple is open sourcing Swift Build
261–270 of 300 posts
Re: Apple is open sourcing Swift Build
#262Re: Apple is open sourcing Swift Build
#263[deleted]
Re: Apple is open sourcing Swift Build
#264Swift is a really cool language. But one thing that blows my mind is that if you ever encounter an "index out of range" error, the (massive) error message that you get doesn't tell you anything about where this error occurred... no line number... no nothing... let a = [1] print(a[1]) Is all you have to do to reproduce the error. The error looks something like that https://pastebin.com/MQV82SaR And gives you no useful…
``` swift_hello_main + 322 in swift-hello at /home/fermi/Documents/temp/swift-hello/Sources/main.swift:64:8
62│
63│ let a = [1]
64│ print(a[1])
│ ▲
65│
```Re: Apple is open sourcing Swift Build
#265Earlier quoted context omitted.
Which rely on a mix of Objective-C and Swift APIs to actually interact with the platform.
What's your point? That's what Apple makes available. I'd use the C# API if that's how they provided it. If not dominating the games on those plarforms, Unity and C# have a strong footing to say the least. Swift doesn't seem to be making very much headway on platforms where APIs are available in anything else. Maybe that can chance. It seems like a neat language but "it's popular because apple forces you to use it" i…
I may also add that I dislike Microsoft doesn't give to the .NET ecosystem the same care for games developers as Apple does for Swift and existing OS SDKs.
As far as DirectX team is concerned, only C++ exists, and .NET team lets third party folks do the needful.
Had it not been for MonoGame, Unity would never picked C# in first place, gone were the days of Managed DirectX and XNA, when the decision came to be as Unity did their cross-platform rewrite out of OS X.
Re: Apple is open sourcing Swift Build
#266Earlier quoted context omitted.
They should have been fully open source with full linux support and parity since day one. That would actually help the language get traction. At this point it's a dying language.
There's a lot more buzz and activity around Swift than many other languages. It's literally up there with Rust, in terms of excitement (perhaps not quite as high). But I think if they get excitement outside of the Apple ecosystem, things should start to get super interesting. Some are already adopting it like Ladybird browser.
Re: Apple is open sourcing Swift Build
#267Re: Apple is open sourcing Swift Build
#268Earlier quoted context omitted.
They should have been fully open source with full linux support and parity since day one. That would actually help the language get traction. At this point it's a dying language.
Is it dying? I think it's still pretty popular for app development isn't it? I was pretty excited to hear that Ladybird is doing a lot of stuff in Swift, because I think it's a pretty decent and fast language and I think it'd be pretty neat to see a browser written in it.
Re: Apple is open sourcing Swift Build
#269Re: Apple is open sourcing Swift Build
#270Swift is a nice language. I'm glad to see it being released from the clutches of Apple. I can only imagine how large of a task this is. I hope some day to be able to use it. The last time I tried a cross-platform project with it I switched languages due to `URLSession.shared.data` (a network request) being unable to compile on Linux.
Is it really being released? Although some parts of the language and build chains are technically open source (as in, you can see the code), the project is still completely controlled by Apple at the top.