bindata VS Virtus

Compare bindata vs Virtus and see what are their differences.

bindata

BinData - Reading and Writing Binary Data in Ruby (by dmendel)

Virtus

By solnic
Our great sponsors
  • PopRuby - Clothing and Accessories for Ruby Developers
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
bindata Virtus
4 1
571 3,809
- -
6.4 0.0
about 1 month ago almost 5 years ago
Ruby Ruby
BSD 2-clause "Simplified" 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.

bindata

Posts with mentions or reviews of bindata. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-06-18.
  • Newb here: have you written your own web server? Seeking advice
    13 projects | /r/ruby | 18 Jun 2022
    For example, I enjoy sim racing, and some of my games provide a network API for things like telemetry data. So I wrote a simple telemetry logger that I use to gather data, which I then mess around with using R Studio. Ruby worked exceptionally well for this because of a cool little library called BinData.
  • Ruby Structs with type specifications for the properties
    4 projects | /r/ruby | 29 Jun 2021
    These projects always remind me of binary formats. I've used bindata to work with binary formats coming from UDP streams over a network, and it's very handy to have a layer that encapsulates your expectations about the data you're receiving, combined with an exception handling apparatus.

Virtus

Posts with mentions or reviews of Virtus. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-29.

What are some alternatives?

When comparing bindata and Virtus you can also consider the following projects:

ActiveAttr - What ActiveModel left out

FastAttributes - FastAttributes adds attributes with their types to the class

Ruby Facets - Ruby Facets

ActiveSupport

Ruru - Native Ruby extensions written in Rust

Hanami::Utils - Ruby core extentions and class utilities for Hanami

Lean::Attributes - define typed attributes on arbitrary Ruby classes

ActiveDelegate - Delegate ActiveRecord model attributes and associations.

regexp-examples - Generate strings that match a given regular expression

config.cr - Easy to use configuration and parser.

HAR - HAR (HTTP Archive) parser in Crystal

Finishing Moves - Small, focused, awesome methods added to core Ruby classes. Home of the endlessly useful nil_chain.