pgx VS Rust-Bio

Compare pgx vs Rust-Bio and see what are their differences.

pgx

Build Postgres Extensions with Rust! [Moved to: https://github.com/tcdi/pgrx] (by tcdi)

Rust-Bio

This library provides implementations of many algorithms and data structures that are useful for bioinformatics. All provided implementations are rigorously tested via continuous integration. (by rust-bio)
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
pgx Rust-Bio
19 9
2,376 1,511
- 2.1%
9.6 6.4
about 1 year ago 30 days ago
Rust Rust
MIT 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.

pgx

Posts with mentions or reviews of pgx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-05.
  • Write Postgres functions in Rust
    3 projects | /r/rust | 5 Apr 2023
    It uses pgx (https://github.com/tcdi/pgx) which is our more generalized framework for developing Postgres extensions with Rust.
  • Why not Rust for Omnigres?
    2 projects | dev.to | 6 Jan 2023
    It's a great question, considering I've been using Rust for a number of years now, and I generally advocate its use for its rich ecosystem, safety and tooling. I actively contribute to pgx, a library for building Postgres extensions in Rust. Yet, Omnigres appears to be all done in C.
  • Supabase Wrappers: A Framework for Building Postgres Foreign Data Wrappers
    14 projects | news.ycombinator.com | 15 Dec 2022
    Our release today is a framework which extends this functionality to other databases/systems. If you’re familiar with Multicorn[1] or Steampipe[2], then it’s very similar. The framework is written in Rust, using the excellent pgx[3].

    We have developed FDWs for Stripe, Firebase, BigQuery, Clickhouse, and Airtable (all in various “pre-release” states). The plan is to focus on the tools we’re using internally while we stabalize the framework.

    There’s a lot in the blog post into our goals for this release. It’s early, but one of the things I’m most excited about.

    [0] Postgres FDW: [https://www.postgresql.org/docs/current/sql-createforeigndat...

    [1] Multicorn: https://multicorn.org/

    [2] Steampipe: https://steampipe.io/

    [2] pgx: [https://github.com/tcdi/pgx](https://github.com/tcdi/pgx)

  • Apache Age, a PostgreSQL Extension with Graph Database Functionality
    3 projects | news.ycombinator.com | 2 Nov 2022
  • Postgres FTS vs the new wave of search engines
    3 projects | /r/PostgreSQL | 14 Oct 2022
    BTW one nice easter egg is that with pgx there is actually no reason that we can't build even better search solutions inside the database itself.
  • Postgres Full Text Search vs. the Rest
    21 projects | news.ycombinator.com | 14 Oct 2022
    > That thread led me to a project/product idea where you take an existing Postgres instance used for normal products or whatever, replicate it to various read only clusters with a custom search extension loaded and some orchestrator sitting on top (I’ve written most of one in rust that uses 0mq to communicate with it’s nodes) and create drop in search from existing databases with a nice guided web gui for automatic tuning suitable for most business use cases.

    Very interesting idea -- just want to add one thing, write it in rust (with pgx?[0]) :)

    [0]: https://github.com/tcdi/pgx

  • Show HN: pg_idkit, a Postgres extension for generating exotic UUIDs
    3 projects | news.ycombinator.com | 11 Sep 2022
    Hey HN,

    It turns out choosing a good database-optimized UUID (and deciding whether to use serial, etc) isn't quite so simple, and I finally got a chance to do some exploration, write about it[0].

    One of the reasons Postgres is the best open source database out there is it's extensibility -- so I hacked up a small extension for generating some of the more exotic (but crucially, lexicograhically sortable) UUID generation mechanisms:

    https://github.com/t3hmrman/pg_idkit

    This idea has been bumbling around my head for a while, but I finally got a chance to build it while working with Supabase on a post about IDs[0]!

    Most of the heavy lifting is done by pgx[1] which is an amazing framework for building Postgres extensions in Rust. I think we are very early to the trend of amazing postgres extensions built in Rust, and it's yet another reason that it's an exciting time to be all-in on Postgres.

    [0]: https://supabase.com/blog/choosing-a-postgres-primary-key

    [1]: https://github.com/tcdi/pgx

    [0]: https://supabase.com/blog/choosing-a-postgres-primary-key

  • Introducing pg_idkit: an extension for generating lexicographically sortable UUIDs (UUIDv6-8, CUID, Timeflake) in Postgres
    2 projects | /r/PostgreSQL | 9 Sep 2022
    The extension is still WIP but for those of ya'll that like Rust it's built on pgx which has excellent DX. The rust involved isn't complicated -- I'm basically laundering the functionality from other crates that are listed in the README.md.
  • GitHub - supabase/pg_jsonschema: PostgreSQL extension providing JSON Schema validation
    2 projects | /r/PostgreSQL | 23 Jul 2022
    Seems to be using this: https://github.com/tcdi/pgx
  • Show HN: Pg_jsonschema – A Postgres extension for JSON validation
    8 projects | news.ycombinator.com | 21 Jul 2022
    - https://github.com/furstenheim/is_jsonb_valid

    pgx[0] is going to be pretty revolutionary for the postgres ecosystem I think -- there is so much functionality that can be utilized at the database level and I can't think of a language I want to do it with more than Rust.

    [0]: https://github.com/tcdi/pgx

Rust-Bio

Posts with mentions or reviews of Rust-Bio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-01.
  • Bioinformatics Data Structures in Rust
    1 project | news.ycombinator.com | 23 Aug 2023
  • Bioinformatics with Rust
    1 project | news.ycombinator.com | 9 Mar 2023
  • bioinformatic libraries and zig?
    2 projects | /r/Zig | 1 Jan 2023
    Does anyone know of zig native libraries for bioinformatics (here is a Rust example https://rust-bio.github.io/ )? It seems as though one could pull in a lot of bioinformatics C libraries such as done with https://github.com/brentp/hts-zig.
  • Proteomics search engine written in Rust
    5 projects | /r/rust | 5 Nov 2022
    e.g. Rust-Bio
  • What are your top 3-5 programming languages and why?
    2 projects | /r/bioinformatics | 4 Aug 2022
    I would start with the book and then rust-bio library. Rust is a pretty low level language compared to R/Python. It’s an especially good fit for writing efficient tools that make use of the kinds of algorithms / data structures that are implemented in rust-bio.
  • I have to admit. The free code camp course is a bit more sparing than I would have preferred. How did everyone learn Rust?
    5 projects | /r/rust | 4 Dec 2021
    Absolutely! It already is, e.g., https://github.com/rust-bio/rust-bio. I'm moving from the academia/nonprofit world into industry bioinformatics, and I intend to use Rust as much as possible. I've already replaced as much of my Python as possible with Rust. I feel I'm able to create larger, more complex programs with Rust because I have the compiler to keep me from making common mistakes that are so easy to make in dynamically typed languages like Perl and Python. It might take longer to write a program initially, but I've started to create a library of functions I can paste together to do things like parse a positive integer, find a bunch of files with a certain file extension, search through data for a pattern, parse CSV files, etc. Writing my latest book has provided even more common patterns I keep finding I use over and over.
  • Is learning Rust and systems programming through the books Rust in Action and Crafting Interpreters a good idea?
    1 project | /r/rust | 28 Oct 2021
    I think there is huge potential for Rust in bioinformatics, and there are already some great projects like https://rust-bio.github.io/. It seems industry is also hiring for these skills. This Nature article is a little old, but also covers why people in the field are looking for greater safety and performance. It's relatively easy to write a Python program to do bio stuff, but it's also very easy to get lots of things wrong or for the resulting program to be slow and/or impossible to extend and maintain. In the long run, I think it makes sense to write in Rust. Perl was king in biofx when I started, and I would not have predicted it being displaced by Python, so there's good reason to believe that Python may one day be eclipsed by Rust.
  • Whats your favourite open source Rust project that needs more recognition?
    66 projects | /r/rust | 11 Oct 2021
    Well, someone mentioned https://rust-bio.github.io/
  • How can one make Rust excel in the Sciences
    3 projects | /r/rust | 26 Sep 2021
    So generally stuff in this maths/numerical space. The term is a bit deceptive because it rarely means domain-specific science libraries like rust-bio even thought that might be what you think when you hear "scientific computing".

What are some alternatives?

When comparing pgx and Rust-Bio you can also consider the following projects:

tauri - Build smaller, faster, and more secure desktop applications with a web frontend.

dash - Data Apps & Dashboards for Python. No JavaScript Required.

code - Source code for the book Rust in Action

kanidm - Kanidm: A simple, secure and fast identity management platform

bevy - A refreshingly simple data-driven game engine built in Rust

clickhouse-rs - Asynchronous ClickHouse client library for Rust programming language.

postgrest - REST API for any Postgres database

GeoRust - Geospatial primitives and algorithms for Rust

supabase-graphql-example - A HackerNews-like clone built with Supabase and pg_graphql

Rhai - Rhai - An embedded scripting language for Rust.

feophant - A PostgreSQL inspired SQL database written in Rust.

cycle - Modern and safe symbolic mathematics