Live data from Hacker News

Swift Package Index joins Apple

swiftpackageindex.com

21–30 of 85 posts

Re: Swift Package Index joins Apple

#21

Well I was thinking about making a competitor to SPI because they only support GitHub repo’s. This news makes it easy. I’m starting the engines on this…

Please get in touch, as I've wanted this to support Gitlab (et al) for a while, and I'm nervous about the future of SPI now.

Re: Swift Package Index joins Apple

#22
Apple has something with Swift similar to what Google has with Go. The language has a lot of desirable features for server development very much like Go and Rust. Especially when compared to Java and C#.

It makes sense for them to build their services using Swift instead of something like Go and the Swift-on-server team has been doing a lot of work to get swift in a usable state on Linux. Having a thriving opensource (starting with a package index) makes a lot of sense to them for that.

My only problem with Swift is personal taste and experience. I tried it on linux few times (admittingly few years ago now) and generally I wasn't a fan. Go and Rust solve all the problems that Swift could have solved for me, so I didn't bother. But just like node got an entire class of developers into server side programming, Swift could be apples approach to get their iOS and MacOS developers a way to easily write server side code in swift as well

Re: Swift Package Index joins Apple

#23
post #14
post #13

Earlier quoted context omitted.

What does Sherlocked mean?

It's a reference to Sherlock (and later Spotlight) being added to macOS, rendering the previous third-party search-launcher tools obsolete.

Thank you, I learned it today. On the other side, some users replaced Sherlock (Spotlight) with Alfred.

Re: Swift Package Index joins Apple

#24
post #5

Earlier quoted context omitted.

Or send in a PR for gitlab/… support?

Merging a PR with Apple is harder than merging into the left side of a six-lane highway during rush hour.

Is it? What's difficult about it? I see PRs from contributors outside Apple all the time in https://github.com/swiftlang/

Re: Swift Package Index joins Apple

#25

Apple has something with Swift similar to what Google has with Go. The language has a lot of desirable features for server development very much like Go and Rust. Especially when compared to Java and C#. It makes sense for them to build their services using Swift instead of something like Go and the Swift-on-server team has been doing a lot of work to get swift in a usable state on Linux. Having a thriving opensource…

Swift on Linux has changed since a few years ago. A lot.

I prefer Swift over rust as it has the same memory-safety guarantees with a much more approachable syntax, and is generally easier to work with.

Re: Swift Package Index joins Apple

#26
post #25

Apple has something with Swift similar to what Google has with Go. The language has a lot of desirable features for server development very much like Go and Rust. Especially when compared to Java and C#. It makes sense for them to build their services using Swift instead of something like Go and the Swift-on-server team has been doing a lot of work to get swift in a usable state on Linux. Having a thriving opensource…

Swift on Linux has changed since a few years ago. A lot. I prefer Swift over rust as it has the same memory-safety guarantees with a much more approachable syntax, and is generally easier to work with.

Easy and approachable sound pretty subjective to say the least; feature and syntax wise, Swift has become an absolute monster of a language. Rust's tooling and ecosystem are ahead and these points matter to me more than the raw syntax in the age of LLMs.

Re: Swift Package Index joins Apple

#28
post #25

Apple has something with Swift similar to what Google has with Go. The language has a lot of desirable features for server development very much like Go and Rust. Especially when compared to Java and C#. It makes sense for them to build their services using Swift instead of something like Go and the Swift-on-server team has been doing a lot of work to get swift in a usable state on Linux. Having a thriving opensource…

Swift on Linux has changed since a few years ago. A lot. I prefer Swift over rust as it has the same memory-safety guarantees with a much more approachable syntax, and is generally easier to work with.

The same condition is still true as the first time I was told "Swift on Linux" is somehow a first class experience:

> Documentation for the standard library is presently hosted on the Apple Developer website.

Sure enough, by Apple policy, the documentation pretends no non-Apple platforms exist. What happens for an API which could be different if your system isn't fruit-flavoured? They don't care and won't talk about it.

Is the feature I need available for this Linux device? No idea, but it does work with watchOS and tvOS made by Apple...

Re: Swift Package Index joins Apple

#29
post #12
post #8

Earlier quoted context omitted.

Simply being open doesn't make them good open source projects. Luckily the SPI shouldn't need to conform to Apple's release schedule, and should operate mostly independently, so the worst aspects of Apple's open source projects will be less of an issue.

No true Scotsman…

Even simpler, this is a "no Scotsman" scenario. Apple has unprecedented contempt for Open designs and software standards, even compared to the pitiful example that Microsoft and Google set.

Unlike them, Apple takes a stance of contravening the public good to emphasize lock-in. They refused USB-C for as long as possible to sell licensed serial connectors that their Macs didn't even use. They fought tooth-and-nail to politicize the free distribution of software when the EU wanted to enable sideloading. They abandoned open initiatives like Khronos, for no reason other than to screw over cross-platform developers. They give Safari special OS entitlements that they refuse to extend to competing mobile browsers, and then justify it as if they can't write a safe OS.

There is no company on planet Earth that goes this far to undermine FOSS. Apple is the fakest Scot.

Post reply on HN