Fable: F# |> BABEL
Sutil
Fable: F# |> BABEL | Sutil | |
---|---|---|
62 | 7 | |
2,984 | 308 | |
0.4% | 0.6% | |
9.3 | 6.2 | |
6 days ago | about 1 month ago | |
F# | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fable: F# |> BABEL
-
Why F#?
It can do GUIs well, although it takes some finesse to manage user state in an immutable-first language. Check out Fable for building web apps: https://fable.io/
I don't have much experience with Scala, but I think the two languages are pretty comparable in their respective ecosystems. The biggest difference I'm aware of is that Scala has typeclasses and F# does not.
-
Zod: TypeScript-first schema validation with static type inference
Why not write your code in F# and compile it to TypeScript using Fable [1]?
This way you can use native language features for discriminated unions, functional pipelines, and exhaustive pattern matching to model your domain instead of shoe-horning such functionality into a non-ML language!
Model your domain in F#, consume it in Python or C# backends and TypeScript frontends. The downside is needing to know all of these languages and run times but I think I'd rather know F# and the quirks with interacting with TypeScript than a library like Effect!
[1] https://fable.io
-
Dada, an Experiement by the Creators of Rust
This conversation could be referring to https://fable.io/
Other than that, the question is indeed strange and I agree with your statements.
-
Exploring a foreign F# codebase
NOTE: For larger codebases with more history it is likely that the Program.fs file will have a lot of orchestration and logic as well. given that it is often where everything clashes and starts, for example the Fable Entrypoint is in Entry.fs and it contains a lot of code. The best you can do always is to start at the bottom of the file and work your way up. Remember: Everything at the bottom uses what has already been defined at the top so there are no circular dependencies or random functions/types at the bottom that can trip you off, everything comes from the top!
-
Revisiting WASM for F#
I am a big fan of going with web components + plain (build-less) javascript whenever possible, so it is not surprising that I often favor things like the Fable Compiler, where I can target my F# code directly to javascript and be as close to the native JS experience as possible, both for interop concerns and for ecosystem integration.
-
A new F# compiler feature: graph-based type-checking
Fable compiler - https://fable.io/
The F# community is very friendly (these sub-communities as well), and they have plenty of good issues/opportunities to contribute OSS work to across any skill level.
Phosphor isn't hiring right now, but we expect to begin a search for FE/interface engineers over the next few month. Email [email protected] for anyone interested.
-
Building React Components Using Unions in TypeScript
Naturally I’d recommend using a better language such as ReScript or Elm or PureScript or F#‘s Fable + Elmish, but “React” is the king right now and people perceive TypeScript as “less risky” for jobs/hiring, so here we are.
- Fable: an F# to Dart compiler
-
Dart 3.1 and a retrospective on functional style programming in Dart
Stuff like this: https://github.com/fable-compiler/Fable/issues/1822
It just seems like an incredibly ambitious project that appears to have very little equal but is mainly worked on by a handful of people but no corporate backing. I get the feeling that if you want to use it, you'll either be the only one doing what you're doing or among just a few people. I already use F# and feel this way about the core language itself.
-
Elixir – Why the dot (when calling anonymous functions)?
F# is also part of the OCaml family, has a great to-JS transpiler (https://fable.io/) and F# code can also be used in .NET projects.
Sutil
-
What do people use for REST APIs and Web Development now?
Sutil 0 dependency components inspired by svelte.
-
Exploring The F# Frontend Landscape
Sutil
-
Next.js/Svelte Alternative for .NET/C#
If you don't mind using F# instead of C# then sutil might do what you need. It was inspired by Svelte.
-
Fable is a compiler that brings F# into the JavaScript ecosystem
For those interested in Svetle, Sutil is another thing to check out. Top of my head I can’t remember if it is based on or just inspired by Feliz.
https://github.com/davedawkins/Sutil
-
Type Safe HTML With FSharp
While I've talked about sutil in the past I was slightly wrong saying that sutil was using Svelte under the hood, it turns out that Sutil is actually a pure F# implementation of a web framework! That means that yes! there's no VDOM, there's no dependency other than the FSharp.Core* library.
-
Taking Advantage of the platform with Sutil and Web Components
View on GitHub
-
Cross-platform NeoVim UI in F#!
With tools like: Avalonia.FuncUI, Feliz, Xamarin.Forms, Sutil you can create desktop or mobile or web UI's using a really really good and easy to learn programming language. I, personally, see no reason to at least try it out!
What are some alternatives?
rescript - ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
Avalonia.FuncUI - Develop cross-plattform GUI Applications using F# and Avalonia!
ClojureCLR - A port of Clojure to the CLR, part of the Clojure project
fvim - Cross platform Neovim front-end UI, built with F# + Avalonia
Bridge.NET - :spades: C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.
elmish - Elm-like abstractions for F# apps