3 ms·
I used to be a bit of a Swift fan boy, but then I switched to Rust (I was a Rust fanboy for even longer but thought that Swift was better for my use case which
by adamnemecek 6y ago
I used to be a bit of a Swift fan boy, but then I switched to Rust (I was a Rust fanboy for even longer but thought that Swift was better for my use case which is a native macos app). I have not looked back. The Swift ecosystem is mostly people wrapping Apple APIs.
God help you if you want to have a swift package with some metal code in it. Rust cargo manages this without a hiccup.
Swift is nice as long as daddy Apple had your use case in mind, God forbid you have to tweak something. Rust feels more "timeless".
Swift for TF is dead.
- rhodysurf 6y agoFor a while I was looking aggressively at using swift everywhere, but then I tried rust and read this https://v4.chriskrycho.com/rust-and-swift.html https://v4.chriskrycho.com/rust-and-swift.html and gained a new respect for Rust and have been using it whenever I can since.
- valuearb 6y agoBoy that is really old. And oppressively detailed. And ends up sounding like a Coke vs Pepsi argument. Do I really care about the minutia of minor features when I can build the same things with both tools? For server side I’m probably going to use Rust, for MacOS or iOS I’m certainly using Swift, for Android I choose Kotlin, and for Windows I would choose suicide.
- rhodysurf 6y agoIt definitely is old, but a lot of the points still stand with respect to swift syntax. Anyway I was trying to use swift for things outside of iOS work to share code and it wasnt worth it, is what I'm really getting at. So agreed on your whole second sentence haha
- adamnemecek 6y agoI'm using rust and metal on macos and it's pretty nice. I'll switch to wgpu eventually, it's similar enough to metal.
- TillE 6y agoC++17/20 on Visual Studio 2019 with vcpkg is a pretty nice place to be for Windows development. Oh, unless you're developing GUI stuff. In which case, good luck. Use Qt or something, I dunno.
- pjmlp 6y agoWinUI is quite alright.