Functional Reactive Programming

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • reflex

    Interactive programs without callbacks or side-effects. Functional Reactive Programming (FRP) uses composable events and time-varying values to describe interactive systems as pure functions. Just like other pure functional code, functional reactive code is easier to get right on the first try, maintain, and reuse. (by reflex-frp)

  • book

    V2 of Real World OCaml (by realworldocaml)

  • Elm is not dead. It just prefers a slow release schedule but is still actively worked on in the background.

    That said, you might want to check out OCaml for general purpose programming. Super fast compiler, great performance, can target both native and JS.

    It is easier to use than Haskell due to defaulting to eager evaluation (like most languages) strategy instead of laziness and being generally more pragmatic, offering more escape hatches into the imperative world if need be. Plus great upward trajectory with lot's of cool stuff like an effects system and multi-core support coming.

    Real World Ocaml is a decent resource: https://dev.realworldocaml.org/

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • dream

    Tidy, feature-complete Web framework

  • > you might want to check out OCaml for general purpose programming

    Any tips on backend frameworks to look at? I need to write a small websocket service for a side-project and have always wanted to try OCaml. I came across https://github.com/aantron/dream.

  • elmish

    Elm-like abstractions for F# apps

  • Maybe elmish could be of interest to you? https://github.com/elmish/elmish

  • Rx.NET

    The Reactive Extensions for .NET

  • As much as I'd love to learn Haskell, Lisp, OCaml or F#, try https://reactivex.io/ and pick your language.

  • swift-async-algorithms

    Async Algorithms for Swift

  • https://github.com/apple/swift-async-algorithms

    Requires Xcode 14, which is still in beta and cannot push to the App Store.

    Also, Apple fucked their back port badly. It’s supposedly fixed now, but if you built an app that used async/await anywhere in Xcode 13.X and a user installed running iOS 12/13/up to 14.5 they’d crash on launch.

    So I personally wouldn’t trust it, and instead just push to raise your iOS minimum. I’ve had no problems requiring iOS15 in my projects over 1M installs

  • ihp

    🔥 The fastest way to build type safe web apps. IHP is a new batteries-included web framework optimized for longterm productivity and programmer happiness

  • Yes, it's possible to build a traditional web company with Haskell. We've made IHP exactly for that :) It's like Rails/Django but for Haskell. https://ihp.digitallyinduced.com/ We specifically try to be batteries-includes (like rails), so you don't have to think too much about what libraries to use, the core of IHP can get you very far without needing to manually decide between libraries.

    IHP even won a G2 badge, which is kind of funny and ironic for a Haskell project :D https://www.g2.com/products/ihp/reviews

  • 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.

    InfluxDB logo
  • websocket

    Discontinued Websockets for Elm (by elm-lang)

  • The official reason is here: https://github.com/elm-lang/websocket

    I believe it's quite possible to support websockets with the current language features, though, and I hope that websockets will be ready for Gren along with the 0.2.0 release in december.

  • learn-you-a-haskell

    “Learn You a Haskell for Great Good!” by Miran Lipovača

  • You would be surprised how much Haskell is practical for boring stuff, try it out http://learnyouahaskell.com/

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts