Top 23 C Ruby Projects
-
Mike has worked hard over the years to have Nokogiri come with its dependencies. It does come with libxml and all that is required.
From https://nokogiri.org
> These dependencies are met by default by Nokogiri's packaged versions of the libxml2 and libxslt source code, but a configuration option --use-system-libraries is provided to allow specification of alternative library locations.
Some authors work hard to have their tools do the right thing and consistently.
-
I knew that our app was using Oj for JSON serialisation. But I didn't initially notice anything spooky about pretty_generate. A colleague of mine (shoutout Iain) had keener eyes and pulled up the C file that dealt with something spooky sounding in mimic_json.c.
-
SonarLint
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
-
Project mention: What are some of your favorite CLI/TUI apps? | reddit.com/r/commandline | 2022-05-08
weechat for IRC and Matrix
-
Project mention: Remote code execution in Homebrew by compromising the official Cask repository | reddit.com/r/programming | 2021-06-15
There are libgit2 bindings for ruby ( https://github.com/libgit2/rugged ), I wonder why they went with parsing the patch files...
-
Themis
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.
Project mention: Themis: Strong, usable cryptography for busy people | news.ycombinator.com | 2022-02-17 -
Ruby Packer: distribute your Ruby code as a compiled binary\ (30 comments)
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
We use https://github.com/mrkn/pycall.rb extensively to interface with python libraries. So far, the only problem we have is memory leaks in python, but we mitigated the problem by isolating the leaking parts in a separate process.
-
-
To accomplish this project, I knew I would need some way to process the input images. Resizing the images was the easy bit. The more complex (and more important) task was to find the best way to relate a pixel's color in the source image to a dot's size in final animation. I felt that the relative luminance as described in this W3 accessibility document was a logical property to use in this case, and can be easily calculated with a color's RGB components. After determining what tasks I needed to fulfill, I determined that the RMagick library would be a good choice for this project.
-
$ gem info pg *** LOCAL GEMS *** pg (1.3.4) Authors: Michael Granger, Lars Kanis Homepage: https://github.com/ged/ruby-pg License: BSD-2-Clause Installed at: /Users/jvon1904/.rvm/gems/ruby-3.0.3 Pg is the Ruby interface to the PostgreSQL RDBMS
-
-
-
One day, one of my managers gave me the task of allowing a store to download its entire inventory in a spreadsheet, having multiple pages regarding the different categories the user may have. After doing some research on top popular gems used in Ruby on Rails for accomplishing this task, I ended up choosing FastExcel, that is based on Libxlsxwriter and wraps some methods around it, like formatting cells. Even though there were some other valid gems, like Caxlsx or Write_xlsx , FastExcel seemed the most lightweight gem as well as the one that offered the best performance as it is shown under its benchmarks ...
-
Project mention: Ok y’all. How can we get this kind of real-time memory profiling in Ruby? Does it already exist? Is anyone working on this? | reddit.com/r/ruby | 2022-04-20
As a follow up, if anyone is interested in working on something like this, Ruby has an official curses gem supporting the curses family of libraries.
-
I would edit ossl.c and copy some code from Ruby OpenSSL commit 8e98d2e. This might be easier than building an old version of OpenSSL.
-
-
-
Project mention: Any performance/memory issue with Ruby 3.x compared to 2.7? | reddit.com/r/ruby | 2022-03-30
-
Project mention: Any performance/memory issue with Ruby 3.x compared to 2.7? | reddit.com/r/ruby | 2022-03-30
-
Project mention: Any performance/memory issue with Ruby 3.x compared to 2.7? | reddit.com/r/ruby | 2022-03-30
-
Maybe this is not related, but i programmed a program to parse shebang on line 1 so you can use it on non unix platform like windows, dos, freedos, dosbox, haiku etc. Works with lua https://github.com/mrharmonies/hashpling/blob/master/README.md
-
Project mention: Ruby 3.1 Released, Featuring In-Process JIT Compiler | news.ycombinator.com | 2021-12-25
IMO the most impactful improvement for Ractors right now needs to come from the community, because third-party Gems with C-extensions need to explicitly opt themselves in as Ractor-safe: https://docs.ruby-lang.org/en/master/doc/extension_rdoc.html...
"By default, all C extensions are recognized as Ractor-unsafe. If C extension becomes Ractor-safe, the extension should call `rb_ext_ractor_safe(true)` at the `Init_` function and all defined method marked as Ractor-safe. Ractor-unsafe C-methods only been called from main-ractor. If non-main ractor calls it, then `Ractor::UnsafeError` is raised."
I've submitted a few such patches for my own personal use, and it's a very trivial change for extensions which keep no state in C-land that would need to be synchronized between Ractors, e.g. https://github.com/dearblue/ruby-extattr/pull/1
C Ruby related posts
Index
What are some of the best open-source Ruby projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | Nokogiri | 5,856 |
2 | Oj | 2,875 |
3 | Weechat | 2,458 |
4 | Rugged | 2,144 |
5 | Themis | 1,515 |
6 | ruby-packer | 1,449 |
7 | soloud | 1,327 |
8 | pycall.rb | 834 |
9 | Iodine | 775 |
10 | RMagick | 636 |
11 | ruby-pg | 583 |
12 | Polyphony | 465 |
13 | numo-narray | 340 |
14 | fast_excel | 277 |
15 | curses | 267 |
16 | openssl | 203 |
17 | Ruby-LXC | 122 |
18 | digest-crc | 83 |
19 | bigdecimal | 82 |
20 | digest | 35 |
21 | zlib | 34 |
22 | hashpling | 7 |
23 | ruby-extattr | 3 |
Are you hiring? Post a new remote job listing for free.