News for hackers. Stuff that matters.
Re:Building native macOS applications with Rust by jaegerpicker on Wednesday November 30, 2016 @05:30PM (#13075311)
I'm a little torn by this, I love Rust and think it has the potential to be a great language. So in that regard this is really cool and neat. On the other hand I also really like swift and I have a hard time understand what benefit Rust would give over swift since Apple had put a large amount of work into the overall safety of swift interop with Obj-C, though it's far from perfect.
Re:Building native macOS applications with Rust by wyager on Wednesday November 30, 2016 @11:05PM (#13077098)
> I have a hard time understand what benefit Rust would give over swift

Rust is a drastically better-designed language, with substantially improved safety mechanisms, more advanced memory management (via lifetimes), generally better performance, and more powerful (generic) ADTs, to name a few things. That said, I'm not convinced it's better for the UI-centric development that Swift is targeting.

Re:Building native macOS applications with Rust by bluejekyll on Thursday December 01, 2016 @12:21AM (#13077365)
While I agree with you, to be fair to Swift it has other goals, and one primary one is to seamlessly work with existing objc, which it's excelled at.
Re:Building native macOS applications with Rust by paulddraper on Thursday December 01, 2016 @12:48AM (#13077472)
> to be fair to Swift it has other goals

Exactly. If those are goals you share use Swift. If not, it may not be a good match.

Re:Building native macOS applications with Rust by benliong78 on Thursday December 01, 2016 @04:28AM (#13078241)
So the question is valid: what benefit does one get using Rush over Swift on developing for Mac? Rust may be a better language overall, while still be an inferior choice in this context of Mac OS X Native app development.
Re:Building native macOS applications with Rust by wyager on Thursday December 01, 2016 @11:58AM (#13080938)
I listed some of the benefits earlier in the thread. What I obviously can't do is prove it's better for native app development, because that depends on the developer.
Re:Building native macOS applications with Rust by steveklabnik on Wednesday November 30, 2016 @05:46PM (#13075411)
Swift is a great language. I think the benfit comes in when you want to share the logic with another application, personally. I'd make the Apple version Swift + Rust.