squeal-postgresql VS beam

Compare squeal-postgresql vs beam and see what are their differences.

squeal-postgresql

Squeal, a deep embedding of SQL in Haskell (by morphismtech)

beam

A type-safe, non-TH Haskell SQL library and ORM (by haskell-beam)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
squeal-postgresql beam
5 7
368 593
0.8% 1.2%
4.6 8.7
3 months ago 4 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License 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.

squeal-postgresql

Posts with mentions or reviews of squeal-postgresql. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-17.

beam

Posts with mentions or reviews of beam. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-06.
  • Optimizing a Rust GPU matmul kernel
    2 projects | news.ycombinator.com | 6 Dec 2024
    I'm not familiar with GPUs specifically, but I have seen this for ORMs that support multiple SQL dialects (e.g. [0]).

    A great technique is called 'tagless final encoding' [1]. Using this technique, you can specify capabilities of an embedded domain-specific language (eDSL) such that you can have a shared (but narrow) common set of features, while allowing specializations of this eDSL to support extra features.

    [0]: https://github.com/haskell-beam/beam

    [1]: https://nrinaudo.github.io/articles/tagless_final.html

  • Why Haskell?
    15 projects | news.ycombinator.com | 12 Sep 2024
    https://haskell-beam.github.io/beam/ is fantastic, but good luck understanding it if you don't already know some Haskell
  • How to use PostgreSQL with Haskell: beam
    2 projects | dev.to | 2 Oct 2023
    Beam “is a highly-general library for accessing any kind of database with Haskell”. Beam makes extensive use of GHC's Generics mechanism — no Template Haskell.
  • How can database libraries be compared to each other?
    2 projects | /r/haskell | 5 Dec 2022
    One anecdotal opinion from a rando reddit user: I prefer beam despite the boilerplate and more complex types because of the authors make a serious attempt at sql-standards compliance: https://github.com/haskell-beam/beam
  • A more functional approach
    2 projects | /r/functionalprogramming | 19 Aug 2022
  • Haskell sql multi-engine library
    1 project | /r/haskell | 4 Feb 2022
    It's actively worked on: https://github.com/haskell-beam/beam Makes heavy use of the type level though.
  • Reflections On Using Haskell For My Startup
    3 projects | /r/haskell | 17 Feb 2021
    The beam library is one example of this: https://github.com/haskell-beam/beam/pulls

What are some alternatives?

When comparing squeal-postgresql and beam you can also consider the following projects:

acid-state - Add ACID guarantees to any serializable Haskell data structure

yxdb-utils - Utilities for parsing Alteryx Database format

selda - A type-safe, high-level SQL library for Haskell

esqueleto - Bare bones, type-safe EDSL for SQL queries on persistent backends.

sqlite-simple - Mid-level bindings for sqlite

DSH - Database-Supported Haskell

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured

Did you know that Haskell is
the 25th most popular programming language
based on number of references?