typed_struct VS bindata

Compare typed_struct vs bindata and see what are their differences.

typed_struct

Ruby structs but with type-checked attributes ⚡️🔐 (by johansenja)
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
typed_struct bindata
1 4
15 572
- -
0.0 5.9
over 1 year ago 27 days ago
Ruby Ruby
MIT License BSD 2-clause "Simplified" 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.

typed_struct

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

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.

What are some alternatives?

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

dry-struct - Typed struct and value objects

config.cr - Easy to use configuration and parser.

rbs - Type Signature for Ruby

HAR - HAR (HTTP Archive) parser in Crystal

Virtus

maxminddb.cr - MaxMind DB Reader for Crystal

gem_rbs_collection - A collection of RBS for gems.

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

hash_to_struct - It enables recursive conversion of a ruby Hash to a Struct-like object and back.

crinder - Class based json renderer in Crystal

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

geoip2.cr - MaxMind GeoIP2 Reader for Crystal