by adamnemecek · 6y ago · 0 comments
I have only done some toy projects on it so far, but am really digging it.
We’re using F# React on the front-end, Giraffe on the back-end.
DustyTables for Data Access.
It’s great - can recommend.
It’s a niche, but it exists and is growing.
If you want one and are willing to take a few compromises you’ll find one.
I find this a bit intriguing because the library support for linear algebra, probability and statistics is pretty slim both in .NET and OCaml. The latter has OWL, which is very cool, but it's mostly a 1-person project.
Do they develop all this support in house? For example, in insurance you may need things like Gumbel or Fréchet maximum likelihood estimators. That's not so easy to implement on your own, especially not without some linear algebra and optimization primitives available.
On the other hand, I love these languages, and I wish there was a strongly typed contender to Python, R or Julia. Whenever I develop a data-oriented application, it feels like I need to prototype in one language and in order to scale or develop the whole infrastructure, I need to switch to another language.
Julia has solved some of these problems, but I don't see a team implementing tons of business logic in a medium sized application using Julia.
If you want to work in F# come up with your own OSS projects or champion it at work.
What sometimes leads to problems is F#’s record and discriminated union types.
Not sure how they are handled by EF Core.
Going back to plain SQL is just great. You know exactly what SQL gets executed. No Magic.
With DustyTables it’s also not too much boilerplate.
1. you need a dummy type[2] for empty parts of the union.
2. it still can't enforce exhaustive matching.
[1]: https://stu.dev/pattern-matching-fsharp-union-types-in-cshar...
[2]: Maybe () would work?
* Suave
* AWS
* Fable
* React
SAFR? It's great, but missing a snazzy acronym.
Saturn
Azure App Service
Fable
Elmish
Slightly off topic but it’s good to see that F# is finally getting some proper web love.