bindata VS Virtus

Compare bindata vs Virtus 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
bindata Virtus
4 1
572 3,809
- -
6.4 0.0
15 days 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.
  • How to Track Down Memory Leaks in Ruby | AppSignal Blog
    1 project | /r/ruby | 27 Jul 2022
    I recently ditched bindata for a self written solution because I couldn't figure out why exactly it leaks memory. According to count objects it creates a shit ton of classes if you read a lot of data and idk why
  • Help Finding Material for Decoding Hex Files
    1 project | /r/AskComputerScience | 21 Jul 2022
    "Writing an entire custom program" is the best way. Ruby has a nice package called bindata (https://github.com/dmendel/bindata) that works well for this purpose.
  • 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:

config.cr - Easy to use configuration and parser.

ActiveAttr - What ActiveModel left out

HAR - HAR (HTTP Archive) parser in Crystal

FastAttributes - FastAttributes adds attributes with their types to the class

maxminddb.cr - MaxMind DB Reader for Crystal

Ruby Facets - Ruby Facets

Crystalizer - (De)serialize any Crystal object - out of the box. Supports JSON, YAML and Byte format.

ActiveSupport

crinder - Class based json renderer in Crystal

Ruru - Native Ruby extensions written in Rust

JSON tools - An implementation of RFC-6901 and RFC-6902 in Crystal Lang

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