Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you can afford to exclude windows and linux, Swift.

If you like windows but also want cross platform, C#/F# and Xamarin.Forms or UI or whatever its called. I've heard very positive things about dotnet gui work these days.

I'm spending time with rust to try my hand at game development. As an older developer, it's all a bit foreign to me so I don't really know what's good and what's not.

That having been said, desktop development is something the rust community at large is dedicated to ant interested in. There's already a fee libraries, like Conrod for Piston, gtk.rs, etc but I don't know how these options stack up against industry standards.

C# 7 is a lot more functional and pleasant than the C# 4/5 everybody dismissed years ago.

F# can compile to wherever you need it and you can write functional first and just include it in your nuget built just like you normally would.

If you're adamant about functional, consider dotnet. Of course C# is still very much OOP, that's just what it is. But I find the primary benefits to FP in my own code to be more related to correctness, testability (and therefore more correct) and a convenience in modelling data structures quicker than subclassing. Even with generics, having unions and record types makes it just that much more satisfying.

F# actually has a little micro-discipline called domain-driven programming. Search for that term and you can see how different researchers have used F#'s incredibly flexible type modelling to adapt to their domain and make their code easier for people in that domain easier to understand.

Hope this helps!



To expand on your point, the most interesting library I’ve seen for desktop GUIs in Rust is “relm”. It’s as the name implies an FRP-like and Elm-inspired library for Rust.

https://github.com/antoyo/relm/blob/master/README.adoc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: