Redesigned Swift.org is now live

  • Swift seems like a really nice language that's held back by it's association with Apple.

    Seems to hit a sweet spot of a fast/compiled (compared to Javascript), memory safe (compared to C++), object orientated (compared to Go) and easy to write (compared to Rust).

    Doesn't seem like there's any maintained bindings for Qt though, although there are some interesting ones for GTK (e.g. https://git.aparoksha.dev/aparoksha/adwaita-swift)

  • Well since this is about the web site redesign, I’ll leave my opinions on the language to myself and just say that I like the color gradients and how the trail of color coming off of the mascot bird acts as a separator as you scroll down the page.

    It’s a fresh change from your typical modern website.

  • The inclusion of "Embedded" on the front page when all the documents say it's experimental and not supported in public releases "yet" does make me curious if they will announce more at WWDC.

    The big hopes for me this year of WWDC would be a Swift port of the Foundation DB record layer, from Java, along with a decent http server package. It's underappreciated just how useful it is in golang having a production capable http server in the standard library.

  • > Swift is the only language that scales from embedded devices and kernels to apps and cloud infrastructure.

    Most people would disagree with this line…

  • I noticed that Go's and TypeScript's websites are massively more complicated than they were 10-15 years ago, much harder to find basically anything without google, which Swift's feels close to. But Lua's site remains as easy to use as ever.

  • I just can’t ever see Apple not treating developers like shit and it makes me want to have nothing to do with Swift.

  • I find it interesting the call out windows apps specifically, but not mac apps, and from what I understand, the new tools for compiling to Android are getting quite good.

    The last few days, I've been wondering if our commitment to building our mobile app in Swift was a mistake as the only member of our team that wrote swift is no longer with us.

    Has anyone got experience with Android apps written in Swift? Thoughts?

  • Anyone using Swift for web backend?

    I looked into Vapor but it seems much slower than it should be for a compiled language.

  • Cool. If only some of this effort went into improving Swift Package Manager.

  • I would love to try Swift for things other than iOS if it had nice development tools. I don't ask for much. A decent LSP and code formatter are all I want. I refuse to use Xcode, so being able to code Swift in my code editor of preference would be great.

  • I hope the website’s focus on non-Apple platforms coincides with an actual project focus on them.

    I find Swift fascinating, but the software I want to write is not software locked into Apple platforms. The low level stuff looks particularly interesting, as the common low level languages all have their peculiarities.

  • Swift is usable (on Apple operating systems) if you use the add ons that Apple provides (like SwiftUI). Other than that… forget about it. Tried to use Swift for CLI apps (on macOS) and it failed miserably. The reason: after reaching a certain code size the Swift compiler is reporting vague syntax errors without line numbers. Unacceptable in 2025.

  • Slightly off topic, but the sheer size of the ToC of the Mixing Swift and C++ page[1] makes me think I'm better off just learning and using C++.

    https://www.swift.org/documentation/cxx-interop/

  • Example code after 2 Page Down hits. So they beat Rust on this metric!

  • Really hard to imagine a use case for Swift outside of Apple platforms. It's a good language without much library support anywhere other than Apple platforms.

  • Actually the new site looks quite cool.

  • Are the compile times still terrible (worse than templated C++).

  • Not a good design, where is the search bar? Why is the site's footer area so vertically large? And why do you need two birds at the top limiting you to just a single sentence? Also the first page examples are undocumented

  • [dead]