News for hackers. Stuff that matters.
Re:Swift Static Linux SDK by wg0 on Tuesday June 11, 2024 @09:28PM (#40653560)
> IMO Swift 6 is a better Go and than Go, and a better Rust for app-dev type stuff, which seems to be what people want to use Rust for.

This is a great assessment. There are some shortcomings in go that I wish weren't and I'm kind surprised that people having decades of language design experience under their belt ended up designing go.

I'm looking for a way to generate server stubs from OpenAPI specs. If that, I'm all set with Vapor+OpenAPI and would retire go for my container adventures.

Re:Swift Static Linux SDK by glhaynes on Tuesday June 11, 2024 @11:55PM (#40654308)
I'm looking for a way to generate server stubs from OpenAPI specs

I don't have experience with OpenAPI, but is this what you're looking for? https://www.swift.org/blog/introducing-swift-openapi-generat...

Re:Swift Static Linux SDK by wg0 on Wednesday June 12, 2024 @05:46AM (#40656294)
You're right. This actually is first class Apple[0] and can't get any better than that whereas with Go, I am stuck with so many third party packages. They work well but kinda... not so elegant. Decent enough given what the language can offer.

[0] https://github.com/apple/swift-openapi-generator