Live data from Hacker News

Swift 5: start your engines

lists.swift.org

21–30 of 186 posts

Re: Swift 5: start your engines

#21
post #15

Can someone with Swift experience comment on the status of Swift on non-Apple platforms? Is it being used outside of the Apple ecosystem? How is the tooling, deployment, availability/support, etc.

Apparently IBM has some sort of backend product written in Swift.

I've never actually seen it in production though, nor have I heard of any of my friends companies either

Re: Swift 5: start your engines

#22
post #16
post #13

Earlier quoted context omitted.

I want to know the opinion of managers about what they think when they have to rewrite the app everytime there is a new release. I remember all the time the iOs developer spent with every iOs release. He didn't look any happy

You don't have to "rewrite the app". You run the migrator, then fix up what it didn't migrate. Swift 3 was notorious for having migrator issues, largely due to the fact that it was a pretty radical change and a huge number of method names were changed. Personally, on our hybrid app, the migrator did about 1/3rd of the work, and I did the rest, without any other engineers' involvement. Overall it took maybe 3 days to…

It was a way of talking. I said it that way because the migration to swift and from swift 1 to swift 2 we had the double of developers for iOs than Android and still have to wait for them because of so many issues they were having.

Seems like things are not that bad now. But stills scares me that with every new version you lose a developer for some days (or weeks).

Re: Swift 5: start your engines

#23
post #2

I wish more effort were being made to make it a first class citizen on non-Apple platforms. With the popularity it has enjoyed, it could easily challenge the likes of Go, Python or even Java for server side programming.

You should definitely try rust, it's better than its counterparts, rapidly growing, memory safe language with utmost priority on efficiency. Plus its cross-platform too :)

Are all of your comments about Rust?

Re: Swift 5: start your engines

#24
post #2

I wish more effort were being made to make it a first class citizen on non-Apple platforms. With the popularity it has enjoyed, it could easily challenge the likes of Go, Python or even Java for server side programming.

You should definitely try rust, it's better than its counterparts, rapidly growing, memory safe language with utmost priority on efficiency. Plus its cross-platform too :)

I already use Rust for some stuff, but Rust and Swift don't compete in the same domain -- despite some overlap. Rust is more for Systems Programming whereas Swift is geared towards Application Programming. Of course, you could use them in each other's domains, but there will be challenges.

Re: Swift 5: start your engines

#25
post #15

Can someone with Swift experience comment on the status of Swift on non-Apple platforms? Is it being used outside of the Apple ecosystem? How is the tooling, deployment, availability/support, etc.

There are a bunch of server side frameworks and web servers for Linux

Re: Swift 5: start your engines

#26
post #15

Can someone with Swift experience comment on the status of Swift on non-Apple platforms? Is it being used outside of the Apple ecosystem? How is the tooling, deployment, availability/support, etc.

Would be interested as well.

How good is the ecosystem for server side applications on other OS?

I like the syntax of Swift, it would be awesome to be able to use it for iOS apps as well as server apps.

Re: Swift 5: start your engines

#27
post #3

Maybe someone will explain this to me. Does Swift use this confusing "rapid release" versioning? Does Swift 4 break backwards compatibility with Swift 3? In my company people are looking for a language to rewrite some legacy Objective-C to. Swift is often discarded as "unstable" because of these major version bumps. Compare this to Go, which, seven or so years after the initial release is still 1.x and still doesn't…

Go has had breaking changes. You had to run a program to fix your source.

https://blog.golang.org/introducing-gofix

Swift 4 had very few changes. Most Swift 4 code “upgrades” without any changes.

I’ve got two dozens Swift examples that were easy to convert to Swift 4.

https://github.com/melling/ios_topics/blob/master/README.md

Re: Swift 5: start your engines

#28
post #15

Can someone with Swift experience comment on the status of Swift on non-Apple platforms? Is it being used outside of the Apple ecosystem? How is the tooling, deployment, availability/support, etc.

Victim of trying it the first week it came out, having to call down into C for anything POSIX, and giving up. If you don't have POSIX bindings, don't call yourself v 1.0.

Re: Swift 5: start your engines

#29
post #13

Earlier quoted context omitted.

> Do people enjoy rewriting code? No, of course not. The way I see it, Swift is scared to go the "Java" route where backwards compatibility is valued above all else, leaving the language an antiquated mess.

I want to know the opinion of managers about what they think when they have to rewrite the app everytime there is a new release. I remember all the time the iOs developer spent with every iOs release. He didn't look any happy

Saying "rewrite the app" is pure hyperbole. You have a few things to update, but that's it.

Re: Swift 5: start your engines

#30
post #2

I wish more effort were being made to make it a first class citizen on non-Apple platforms. With the popularity it has enjoyed, it could easily challenge the likes of Go, Python or even Java for server side programming.

Swift is open-source. You are welcome to contribute support for other platforms!

This cliche statement feels trite for such a large project. I'd understand it for a 1000 line JS library, but it makes no sense for a complex language ecosystem that requires multiple full time engineers to maintain.
Post reply on HN