ffi VS ruby-htslib

Compare ffi vs ruby-htslib and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ffi ruby-htslib
5 1
2,054 7
0.4% -
8.1 7.4
11 days ago 2 months ago
Ruby Ruby
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.

ffi

Posts with mentions or reviews of ffi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-26.
  • Mixing FFI, Fiddle, and C Extension in Ruby
    3 projects | dev.to | 26 Oct 2023
    If you're working with Ruby and need to invoke a function written in C language, there are some convenient gems available: Ruby-FFI and Fiddle.
  • Desperately need help with react-native init and ruby
    1 project | /r/ruby | 29 Nov 2022
    Could this be related to spaces in the directory/this issue: https://github.com/ffi/ffi/issues/623? If so, there's no suggestion on the issue, but https://stackoverflow.com/a/64083281 (including the comment https://stackoverflow.com/questions/62368342/rails-bundle-cant-install-gem-ffi#comment123868330_64083281), might help.
  • Why Authorization Is Hard
    9 projects | news.ycombinator.com | 15 Sep 2021
    Hey, Oso engineer here. Good question.

    The rust core is indeed called from the ruby library (as it is with all of our 5 other host libraries). The core itself is pretty complex (there's a whole parser/interpreter in there), so maintaining it in a bunch of languages would be a bit hectic.

    There are some files inside `lib/oso/polar/ffi` that define the C bindings used by the rest of the library. Here's an example: https://github.com/osohq/oso/blob/main/languages/ruby/lib/os...

    We use the ffi gem to make that work: https://github.com/ffi/ffi

  • ffi-bitfield
    4 projects | dev.to | 26 Jul 2021
    Ruby-FFI is a powerful tool to create bindings for C language libraries in Ruby.
  • Travis CLI installation issue for MacOS
    3 projects | dev.to | 23 Apr 2021
    Tried solution mentioned here https://github.com/ffi/ffi/issues/653 but no luck then I posted this question over StackOverflow :

ruby-htslib

Posts with mentions or reviews of ruby-htslib. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-07-26.
  • ffi-bitfield
    4 projects | dev.to | 26 Jul 2021
    I'm working on a bioinformatics-related binding called ruby-htslib. htslib makes heavy use of bit fields throughout the library, so supporting bit fields is inevitable.

What are some alternatives?

When comparing ffi and ruby-htslib you can also consider the following projects:

cerbos - Cerbos is the open core, language-agnostic, scalable authorization solution that makes user permissions and authorization simple to implement and manage by writing context-aware access control policies for your application resources.

cyvcf2 - cython + htslib == fast VCF and BCF processing

dd-trace-rb - Datadog Tracing Ruby Client

ffi-bitfield - Bit field for Ruby-FFI

angular-upload-s3cf - This include angular build creation, upload to S3 and clearing CloudFront cache.

sambamba - Tools for working with SAM/BAM data

OPA (Open Policy Agent) - Open Policy Agent (OPA) is an open source, general-purpose policy engine.

oso - Oso is a batteries-included framework for building authorization in your application.

Ory Keto - Open Source (Go) implementation of "Zanzibar: Google's Consistent, Global Authorization System". Ships gRPC, REST APIs, newSQL, and an easy and granular permission language. Supports ACL, RBAC, and other access models.

fiddle - A libffi wrapper for Ruby.

rcairo - The Ruby bindings for cairo.