News for hackers. Stuff that matters.
Re:Write your own Excel in F# (2018) by xixixao on Sunday August 25, 2019 @04:44AM (#20792011)
How does F# on Fable compare to Elm and Purescript, and how is each doing these days?
Re:Write your own Excel in F# (2018) by tpetricek on Sunday August 25, 2019 @05:06AM (#20792058)
I don't have much experience with Elm or Purescript, but one nice thing about F# with Fable is that it's a pretty flexible language that let's you do things in many ways and integrates well with libraries that use different styles.

For example, the Excel blog post is using virtual-dom directly (without higher level libraries like React) and getting that to work was a few lines of simple code with one mutable variable, but that's all you need to get a nice declarative Elm-style architecture.

Re:Write your own Excel in F# (2018) by Risord on Sunday August 25, 2019 @04:03PM (#20795180)
Unlike Elm, F# is 'functional first' but supports OO and impurity (with good and bad).

Biggest clear plus is maybe full stack development support. Checkout SAFE stack (Saturn + Azure + Fable + Elmish).

There is also Bolero, an alternative for Fable how to run F# in client side. Where Fable compiles F# to JS, Bolero relies on Microsoft Blazor project which has a whole .Net runtime on WebAssembly allowing to run .net binaries directly on browser. I think this is still quite experimental but if you need/want some dependencies from .net ecosystem it might be easier than you think.