3 ms·
Speaking of F#, are there any tutorials/demos on how to set it up on Linux, to run WinForms, without runtime mismatch issues?
by persnickety 3y ago
Speaking of F#, are there any tutorials/demos on how to set it up on Linux, to run WinForms, without runtime mismatch issues?
- Barrin92 3y agoWinForms is a Win32 wrapper so unless you're running Mono which I don't think has been targeted by F# in ages I don't think that's going to work, unless you plan to run a very old F# version.
- Zolomon 3y agoYou should be able to use Avalonia UI[1] as an alternative GUI layer on Windows, Linux, macOS, iOS and Android. There is a beautiful functional MVU wrapper around it called Avalonia.FuncUI[2] with Avalonia.FuncUI.Elmish[3] which is an implementation of Elmish[4] (based of the Elm language[4]) for F#. [1]: https://avaloniaui.net/ https://avaloniaui.net/ [2]: https://github.com/fsprojects/Avalonia.FuncUI/ https://github.com/fsprojects/Avalonia.FuncUI/ [3]: https://www.nuget.org/packages/Avalonia.FuncUI.Elmish https://www.nuget.org/packages/Avalonia.FuncUI.Elmish and https://github.com/fsprojects/Avalonia.FuncUI/tree/master/src/Avalonia.FuncUI.Elmish https://github.com/fsprojects/Avalonia.FuncUI/tree/master/sr... [4]: https://elm-lang.org/ https://elm-lang.org/
- qwerty456127 3y agoAlso take a look at Fabulous[1]. The code with it looks nicer than Avalonia.FuncUI. [1]https://github.com/fabulous-dev/Fabulous.Avalonia https://github.com/fabulous-dev/Fabulous.Avalonia