News for hackers. Stuff that matters.
Re:Dictionary and Set Improvements in Swift 4.0 by Stanleyc23 on Wednesday October 04, 2017 @04:42PM (#15404437)
let's say android or windows adopted swift. I don't think that would eliminate the biggest learning curve of dealing with the frameworks. in my experience, learning UIKit stuff was way trickier than swift. I imagine the same experience developing for other OS'.
Re:Dictionary and Set Improvements in Swift 4.0 by vvanders on Wednesday October 04, 2017 @05:08PM (#15404679)
I dunno how true that is, Rust has fantastic support across Windows and Android but leaves UI framework up to the platform.
Re:Dictionary and Set Improvements in Swift 4.0 by pjmlp on Wednesday October 04, 2017 @07:40PM (#15405731)
I wish Rust had such fantastic support you claim.

There is no support for integrated debugging, across languages on Android Studio and Visual Studio.

No support for COM or UWP and Win32 is WIP.

Not sure how much NDK APIs are actually wrapped.

Re:Dictionary and Set Improvements in Swift 4.0 by vvanders on Wednesday October 04, 2017 @10:58PM (#15406437)
I hate to be a bit blunt but you're really barking up the wrong tree.

VSCode debugger works fine on both msvc and mingw targets.

Asking for COM or UWP is like saying that Javascript has a horrible interop story with COM/UWP. You're picking Rust to build something fast and/or low memory. Leave building a UI to the right tools.

C# has a fantastic FFI and works just fine with Rust. I actually have a project using UWP and Rust together. I get all the portability of Rust and get to use UWP as the UI frontend with minimal fuss.

Re:Dictionary and Set Improvements in Swift 4.0 by pjmlp on Thursday October 05, 2017 @09:55AM (#15409129)
I am just raising awareness, it is all a matter if you feel like it matters to earn the hearts of. Windows developers using to their VS, C# + C++ and respective tooling productivity.

Picking up your example,how do you expose and debug UWP components?

Re:Dictionary and Set Improvements in Swift 4.0 by Rusky on Wednesday October 04, 2017 @08:47PM (#15406022)
Those are probably what the parent means by "UI framework." The Rust toolchain does integrate seamlessly with those platforms' native toolchains, using the same binary and debug info formats.

Perhaps this is perception is just caused by e.g. the extremely low bar set by MinGW, which doesn't do any of that despite "supporting" Windows.

Re:Dictionary and Set Improvements in Swift 4.0 by pjmlp on Thursday October 05, 2017 @09:57AM (#15409146)
Those stacks are more than just UI.

For example since Longhorn failure, COM has become the major way to introduce Windows APIs, since Vista Win32 doesn't get much love.

Re:Dictionary and Set Improvements in Swift 4.0 by kobeya on Wednesday October 04, 2017 @05:33PM (#15404909)
I think that’s what he’s saying?
Re:Dictionary and Set Improvements in Swift 4.0 by vvanders on Wednesday October 04, 2017 @05:52PM (#15405039)
Sort-a. I think frameworks are a separable problem with the platform support.
Re:Dictionary and Set Improvements in Swift 4.0 by favorited on Wednesday October 04, 2017 @05:54PM (#15405051)
You can lump UI frameworks in with others, right?
Re:Dictionary and Set Improvements in Swift 4.0 by hellofunk on Wednesday October 04, 2017 @04:49PM (#15404505)
I'm talking more about portable business logic, libraries I could write and access on all platforms.