3 ms·
Is there a good, cross-platform UI framework for F#?
by lilactown 10y ago
Is there a good, cross-platform UI framework for F#?
- phillipcarter 10y agoThis may not be quite the direct answer you expect, but yes there are multiple ways to create cross-platform UIs with F#: 1. Xamarin[0]. It supports F# for everything aside from UWP targets. 2. WinForms on Mono[1]. 3. FABLE[2] to compile your F# into JavaScript. It's a very good tool and it produces really nice JavaScript as well. From there, you can run the code on the web, Electron, or React Native[3]. [0]: https://developer.xamarin.com/guides/cross-platform/fsharp/fsharp_support_overview/ https://developer.xamarin.com/guides/cross-platform/fsharp/f... [1]: http://www.mono-project.com/docs/gui/winforms/ http://www.mono-project.com/docs/gui/winforms/ [2]: http://fable.io/ http://fable.io/ [3]: https://github.com/fable-compiler/fable-react https://github.com/fable-compiler/fable-react
- cm2187 10y agoI am struggling to understand why xamarin supports F# but not VB...
- nickpeterson 10y agoI believe it has more to do with the founder being an F# enthusiast and less to do with marketshare or suitability.
- Zolomon 10y agoWorth mentioning is that System.Drawing on Mono is more or less crippled, at least on macOS.
- hacker_9 10y agoEto.Forms and also XWT are good choices.
- Nelkins 10y agoAvaloniaUI looks like a good choice. The demos shown in the README are impressive[1]. [1] https://github.com/AvaloniaUI/Avalonia https://github.com/AvaloniaUI/Avalonia