Fable: F# |> BABEL VS Giraffe

Compare Fable: F# |> BABEL vs Giraffe and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Fable: F# |> BABEL Giraffe
60 19
2,816 2,055
0.4% 0.7%
9.7 6.8
9 days ago 20 days ago
F# F#
MIT License Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of Fable: F# |> BABEL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-06.
  • Dada, an Experiement by the Creators of Rust
    9 projects | news.ycombinator.com | 6 Mar 2024
    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
    4 projects | dev.to | 24 Feb 2024
    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#
    3 projects | dev.to | 16 Dec 2023
    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
    9 projects | news.ycombinator.com | 5 Nov 2023
    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
    15 projects | dev.to | 1 Oct 2023
    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
    1 project | /r/dartlang | 26 Sep 2023
  • Dart 3.1 and a retrospective on functional style programming in Dart
    7 projects | news.ycombinator.com | 17 Aug 2023
    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)?
    2 projects | news.ycombinator.com | 14 Aug 2023
    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.
  • Is it possible to write games like Pac-Man in a functional language?
    10 projects | news.ycombinator.com | 1 Jul 2023
  • URGENT HELP NEEDED! Should I learn C#, ASP.NET and the new MAUI framework?
    1 project | /r/dotnet | 16 Jun 2023
    I have heard many good things about https://fable.io/ Fable converts F# code to JavaScript. There are currently 407 packages available for interacting with existing JavaScript packages and frameworks.

Giraffe

Posts with mentions or reviews of Giraffe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-07.
  • The combined power of F# and C#
    10 projects | news.ycombinator.com | 7 Aug 2023
    Giraffe is another interesting one to explore: https://giraffe.wiki/

    Giraffe is nice because it is itself built "just" as ASP.NET Core Middleware so it plays a bit more nicely than Suave with a mixed stack of C#-defined Middleware.

    It's more likely you accidentally fall back into just translating C# patterns to non-idiomatic F# with Giraffe, but it's also nicer when in that case of needing to live in both worlds and use a mixture of libraries built for C# ASP.NET projects.

  • ASP.NET Core updates in .NET 8 Preview 4 - .NET Blog
    4 projects | /r/programming | 17 May 2023
    There are also some F# frameworks built on top of ASP.NET core like https://giraffe.wiki
  • Confusion in learning Giraffe's HttpHandler
    1 project | /r/fsharp | 9 Jan 2023
  • Is there any advantage to using F# instead of C#?
    3 projects | /r/dotnet | 12 Sep 2022
    If you have an interest in F#, I highly recommend diving in because (1) it has a ton of things you might learn to appreciate in C#; (2) it has things C# cannot have. I do like some of the suggestions people have made regarding mixing your code bases, but I'll also say that building, say, endpoint routing in Giraffe is (to repeat myself) easy, simple, and elegant.
  • Targeting Node, Bun and Deno With F#
    10 projects | dev.to | 13 Jul 2022
    Bix is a micro-framework designed with F# in mind and that runs on both Deno and Bun! and in theory it also should even run in a service worker! (intercepting fetch requests) although I haven't tested that yet, it offers a general purpose handler that coupled with a set of route definitions it can bring a Giraffe/Saturn like framework to life in JavaScript runtimes which is incredibly awesome! useful? maybe not 😅, but awesome indeed. Let's see some code for it
  • If you were to create a Web API today from scratch how would you do it ?
    7 projects | /r/dotnet | 2 Apr 2022
    Backend: Most likely it would be a toss between https://saturnframework.org or https://giraffe.wiki. They both combins the extremely good type system in F# combined with the ease of a minimal API.
  • Is it possible to run C# asp.net core MVC and f# giraffe in a single solution
    1 project | /r/fsharp | 21 Feb 2022
    I was wondering if its possible to simultaneously run a C# core MVC project in combination with https://github.com/giraffe-fsharp/Giraffe
  • Overriding JSON serializer in Giraffe
    2 projects | dev.to | 4 Jan 2022
    By default Giraffe, the framework which I use as a web server, uses Newtonsoft.Json to serialize results to JSON. However, for discriminated union, it generates quite a lot of JSON so I've switched to System.Text.Json which is built into newer versions of .Net Core. In combination with FSharp.SystemTextJson package allows serializing discriminated unions more gracefully. All we need is to decorate Branch type with JsonFSharpConverter(JsonUnionEncoding.BareFieldlessTags) attribute.
  • Introducing Giraffe.Htmx
    7 projects | dev.to | 26 Nov 2021
    Giraffe is a library that sits atop ASP.NET Core and allows developers to build web applications in a functional style; dotnet new giraffe is literally my starting point when I begin a new web application project. (Rather than write three more sentences filled with effusive praise, I’ll just leave it at that; it’s great.) It also provides a view engine (that builds upon Suave‘s “experimental” view engine) which uses an F# DSL to define HTML in a strongly-typed way. It has been incredibly efficient for a while, but with .NET’s work over the past two releases at improving performance, and Giraffe’s adoption of those techniques, it is lightning fast.
  • Show HN: F# web server in 3-4 lines of code
    8 projects | news.ycombinator.com | 5 Nov 2021
    Wrapping ASP.NET Core to be easier and more idiomatic with F# seems to be a common domain. Out of curiosity, did you look at any existing projects? If so, what was lacking from them that made you decide to write WebFrame?

    Giraffe: https://github.com/giraffe-fsharp/Giraffe

What are some alternatives?

When comparing Fable: F# |> BABEL and Giraffe you can also consider the following projects:

rescript-compiler - The compiler for ReScript.

Suave.IO - Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.

Sutil - Lightweight front-end framework for F# / Fable. No dependencies.

Saturn - Opinionated, web development framework for F# which implements the server-side, functional MVC pattern

ClojureCLR - A port of Clojure to the CLR, part of the Clojure project

ASP.NET Core - ASP.NET Core is a cross-platform .NET framework for building modern cloud-based web applications on Windows, Mac, or Linux.

Roslyn - The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

Falco - A toolkit for building fast and functional-first web applications using F#.

Feliz - A fresh retake of the React API in Fable and a collection of high-quality components to build React applications in F#, optimized for happiness

ASP.NET MVC

haxe - Haxe - The Cross-Platform Toolkit

Freya - Freya Web Stack - Meta-Package