js-proposal-algebraic-effects VS Fable: F# |> BABEL

Compare js-proposal-algebraic-effects vs Fable: F# |> BABEL and see what are their differences.

Fable: F# |> BABEL

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler (by fable-compiler)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
js-proposal-algebraic-effects Fable: F# |> BABEL
3 60
167 2,816
- 0.8%
0.0 9.7
almost 3 years ago 6 days ago
JavaScript F#
- MIT License
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.

js-proposal-algebraic-effects

Posts with mentions or reviews of js-proposal-algebraic-effects. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Proposal: Signals as a Built-In Primitive of JavaScript
    9 projects | news.ycombinator.com | 31 Mar 2024
    I have to admit: you're perfectly right here. React of course always relied on mutable state in it's implementation – just so we don't have to. I derailed a lot here to keep this funny thread going ;) I'm still not with you on your definition of "functional", since you treated it synonymously with "purely functional". Functional means just made by applying and composing functions, and react UI is created exactly like that. There is an awesome algebraic effects proposal[1], which will hopefully will be added to JavaScript one day, then react will make use of it to become purely functional.

    1: https://github.com/macabeus/js-proposal-algebraic-effects

  • Letlang, a programming language targetting Rust - Road to v0.1
    3 projects | /r/rust | 24 Nov 2022
    Super interesting, there is a proposal to add this to JavaScript and several languages that use this, unison, koka & eff. I had no idea this was even a thing!
  • Go Replaces Interface{} with 'Any'
    10 projects | news.ycombinator.com | 14 Dec 2021
    Ok I was wrongly assuming that panic was expecting an error type, in fact it's an interface{}.

    > Your use of exceptions for flow control (i.e. goto) is considered harmful

    Exceptions are a way to delegate error handling to the caller by giving them informations about the unexpected behavior. It implies that the expected behavior is the "happy path" (everything went well) and any deviations (errors) is unexpected.

    This is far from a goto because you can have `try/finally` blocks without catch (or defer in golang).

    Also, exceptions are just a kind of algebraic effects that do not resume. There was a proposal to JS for this: https://github.com/macabeus/js-proposal-algebraic-effects

    This is also easier to test. assertRaises(ErrorType, func() { code... })

    Almost every Go library I've seen just return an error (which is just a string), you'd need to parse it to assert that the correct error is returned in special conditions.

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.

What are some alternatives?

When comparing js-proposal-algebraic-effects and Fable: F# |> BABEL you can also consider the following projects:

mux - A powerful HTTP router and URL matcher for building Go web servers with 🦍

rescript-compiler - The compiler for ReScript.

exhaustive - Check exhaustiveness of switch statements of enum-like constants in Go source code.

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

errors - Simple error handling primitives

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

rustic_result - Result monad for Elixir inspired by Rust Result type

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

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

haxe - Haxe - The Cross-Platform Toolkit

Roslyn-linq-rewrite - Compiles C# code by first rewriting the syntax trees of LINQ expressions using plain procedural code, minimizing allocations and dynamic dispatch.

Bridge.NET - :spades: C# to JavaScript compiler. Write modern mobile and web apps in C#. Run anywhere with Bridge.NET.