bindata VS net-http-server

Compare bindata vs net-http-server 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 net-http-server
4 1
572 68
- -
6.4 10.0
14 days ago almost 2 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.

net-http-server

Posts with mentions or reviews of net-http-server. 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
    Yes, I actually have. Implementing a basic HTTP parser isn't that difficult, once you implement the correct parsing rules from RFC 9110. If you want to fully support the HTTP protocol, you also have to implement things such as Chunked Transfer Encoding or Gzip Deflate.

What are some alternatives?

When comparing bindata and net-http-server you can also consider the following projects:

config.cr - Easy to use configuration and parser.

Thin - A very fast & simple Ruby web server

HAR - HAR (HTTP Archive) parser in Crystal

webrick - HTTP server toolkit

maxminddb.cr - MaxMind DB Reader for Crystal

mongrel - Mongrel on git

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

ruby_view_server

crinder - Class based json renderer in Crystal

http_tools - Pure Ruby HTTP parser and friends

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

Puma - A Ruby/Rack web server built for parallelism