CombinePDF
gimli
| CombinePDF | gimli | |
|---|---|---|
| 2 | 3 | |
| 778 | 994 | |
| 0.0% | 1.3% | |
| 6.6 | 8.7 | |
| about 1 year ago | 4 days ago | |
| Ruby | Rust | |
| MIT License | Apache License 2.0 |
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.
CombinePDF
-
How to write on a PDF using Ruby
CombinePDF: The Ruby gem that combines PDFs
-
Combining PDFs in a Ruby on Rails application
CombinePDF is a pure Ruby solution to parse PDF files and combine (merge) them with other PDF files, watermark them or stamp them.
gimli
-
Durin is a library for reading and writing the Dwarf debugging format
Author here, a bit cringe to see your WIP project posted here.
My motivation for writing this from scratch is to simultaneously understand DWARF 5 in all its gory details, develop tooling to support my work on the OCaml compiler, and to build a source debugger in OCaml. The performance or lack of isn't a focus right now, I'm sure it doesn't compare to gimli-rs for performance but it does fully support DWARF 5 which gimli-rs doesn't (missing debug_info section support https://github.com/gimli-rs/gimli/pull/807).
Currently I'm working on the read support, and various bits of tooling around understanding Call Frame Information and simulating the DWARF expression evaluation. I'm unhappy with the tooling GDB/LLDB provide for displaying and debugging this information, I've personally spent far too much time staring at CFI expressions and walking memory looking for where it goes wrong. In the OCaml compiler we have few people that understand or work on this area.
-
60x speed-up of Linux “perf”
I haven't blogged about this yet, but we saw a 1000x fold speed-up doing several things around symbolication. The more optimal approach we found was to use the gimli crate[1] directly & carefully optimize it to read in the data structures for the executable(s) you are symbolicating upfront & then issuing in-process queries. They also have a drop-in replacement of addr2line that outperforms it (both in symbolication speed & memory usage).
[1] https://github.com/gimli-rs/gimli
-
Rust shenanigans: return type polymorphism
I remember my brain melted when I tried using gimli, and they used this trick: https://github.com/gimli-rs/gimli/blob/master/examples/dwarf-validate.rs#L121-L124
What are some alternatives?
Pdfkit - A Ruby gem to transform HTML + CSS into PDFs using the command-line utility wkhtmltopdf
stacktrace - C++ library for storing and printing backtraces.
HexaPDF - Versatile PDF creation and manipulation for Ruby
jwtinfo - A command-line tool to get information about JWTs (Json Web Tokens)
Prawn - Fast, Nimble PDF Writer for Ruby
addr2line - A cross-platform `addr2line` clone written in Rust, using `gimli`