10 ms·
I'd like to see Swift adopted more on non-Apple operating systems, some of the recent GTK apps written in Swift are pretty cool.
by ChocolateGod 2y ago
I'd like to see Swift adopted more on non-Apple operating systems, some of the recent GTK apps written in Swift are pretty cool.
- nbbaier 2y agoWhat apps are you thinking of? Curious to check them out.
- jamil7 2y agoThere's been a lot of work on this in the last few years with Windows support, preliminary Android support is also being worked on and should appear at some point in Swift 6.
- drekipus 2y agoIs swift going to do what flutter and kotlin multiplatform cannot?
- rodrigobellusci 2y agoIt seems something like that already exists: https://skip.tools/blog/scrumskipper https://skip.tools/blog/scrumskipper I mostly work with flutter but Skip looks pretty cool.
- jamil7 2y agoI think Skip is doing a lot of this via transpilation, so I think you're expected to still write a lot of Android / Kotlin code.
- jamil7 2y agoThere probably won't be a cross-platform UI layer and many Apple frameworks won't work, although apparently the Foundation Swift rewrite already works. For a lot of companies though, simply being able to share business logic will be a big plus. At my current company we have a lot of talented Swift people and existing code written in the language so being able to share anything would be a huge advantage. I'm biased but I personnaly find the language really productive to work with, runs fast enough for my needs and let's me target more and more platforms.
- synergy20 2y agosadly Gtk's support for MacOS is best efforts only
- ninepoints 2y agoI'd really rather not, personally. All my Swift experiences have been fighting the abysmal compilation times.
- nkozyra 2y agoThat's a bit of an issue in Rust world, too.
- kevincox 2y agoSwift is pretty next level compared to Rust. Rust does seem like a fairly constant level of slow and linearly slows down as the project gets larger. Swift tends to have huge degradations on seemingly innocent changes that make the type inference go off the rails. Although at least if you spend the time to track these down you can fix the worst offenders.
- deleted 2y ago[deleted]
- sokz 2y agoPardon me for not getting your context, but are compile times a big issue in software development? I have never programmed professionally and all my experiences with code is from a couple of classes taken in college a decade ago.
- franga2000 2y agoWhen doing UI things, a common workflow is to have code and the app side-by-side, make a small tweak in the code, recompile/hot-reload, look at he result, repeat. A long compile time makes workflow a pain.
- jamil7 2y agoIt's not as good as Flutter/RN hot reload but SwiftUI previews do make this a lot better.
- 2y ago