bindata
EventMachine
bindata | EventMachine | |
---|---|---|
4 | 3 | |
572 | 4,243 | |
- | 0.1% | |
5.9 | 3.2 | |
about 1 month ago | 10 months ago | |
Ruby | Ruby | |
BSD 2-clause "Simplified" License | Ruby License |
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
-
How to Track Down Memory Leaks in Ruby | AppSignal Blog
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
"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
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
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.
EventMachine
-
I don’t get all the hate for PHP and at this point I am too afraid to ask.
You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.
-
Newb here: have you written your own web server? Seeking advice
Maybe check out EventMachine. You can roll your own using sockets if you don't want to use a library.
-
Best of (Ruby) Gems Series - What's Next? What's Hot?
EventMachine
What are some alternatives?
config.cr - Easy to use configuration and parser.
Concurrent Ruby - Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
HAR - HAR (HTTP Archive) parser in Crystal
Async Ruby - An awesome asynchronous event-driven reactor for Ruby.
maxminddb.cr - MaxMind DB Reader for Crystal
Celluloid - Actor-based concurrent object framework for Ruby
Crystalizer - (De)serialize any Crystal object - out of the box. Supports JSON, YAML and Byte format.
Polyphony - Fine-grained concurrency for Ruby
crinder - Class based json renderer in Crystal
render_async - render_async lets you include pages asynchronously with AJAX
JSON tools - An implementation of RFC-6901 and RFC-6902 in Crystal Lang
Opal-Async - Non-blocking tasks and enumerators for Opal.