What does HackerNews think of Avalonia.FuncUI?

Develop cross-plattform GUI Applications using F# and Avalonia!

Language: F#

#8 in .NET
For those interested in .NET languages with alternative compilation targets, F#'s Elmish (https://elmish.github.io/elmish/) is pretty unique.

We use F# on the front end (instead of TS), and thanks to the Fable compiler (which transpiles F# to JS, Python, Dart, PHP and Rust), most of the benefits of an Elm-style model in the UI can be ported to all sorts of different outputs languages. The rust target is in beta, but its promising because the WASM bundle size stands to be dramatically reduced compared to Blazor.

While the default is reactivity library for Elmish is React, you can swap in Avalonia/FuncUI (https://github.com/fsprojects/Avalonia.FuncUI) with just a little work as well.

The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.

Wonder if something like FuncUI [1] could be built on top of it.

[1] https://github.com/fsprojects/Avalonia.FuncUI

For those looking for a linux-compatible solution, I've had some success with Avalonia: https://avaloniaui.net/

Specifically I made a small application with F# and the FuncUI library https://github.com/fsprojects/Avalonia.FuncUI

So far the most complex real-world application I've seen is Lunacy: https://icons8.com/lunacy

It's nice to have something like this out there. It definitely eased my apprehension of using the platform on the grounds of it being immature.

I've a decent amount of experience with Xamarin (Native and Forms), and so far I've had 1/100th of the build issues with Avalonia.

I am excited to try out MAUI however and see how things have evolved!

The Nu game engine might interest you. There's also FuncUI for app dev which is F# + MVU running on Avalonia.

https://github.com/bryanedds/Nu

https://github.com/fsprojects/Avalonia.FuncUI