crystalruby
anyolite
crystalruby | anyolite | |
---|---|---|
4 | 7 | |
597 | 161 | |
- | 0.0% | |
6.6 | 6.5 | |
about 1 month ago | 10 days ago | |
Ruby | Crystal | |
MIT License | MIT 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.
crystalruby
-
If you want your Ruby application to be efficient, keep it updated!
Recently, I came across an article titled “Ruby might be faster than you think” In this article, John Hawthorn revisits the code snippet from the CrystalRuby README and optimizes it to show that Ruby is just as performant, if not more, than the alternative presented by CrystalRuby.
-
Yes, Ruby is fast, but…
It is common to call C functions from Ruby or Crystal. It's interesting to know that there are alternatives to bridge these two languages that share the same goal of writing beautiful programs, using a similar syntax. The mentioned crystalruby gem allows interfacing Ruby programs with Crystal, and the shard anyolite allows calling Ruby programs from Crystal.
-
Anyolite – Embedded Mruby/Ruby for Crystal
Another ruby/crystal project coming hot on the heels of crystalruby[1].
I can see that both have different use cases but it's interesting to see the two approaches.
1. https://github.com/wouterken/crystalruby
- Embed Crystal code directly in Ruby
anyolite
-
Yes, Ruby is fast, but…
It is common to call C functions from Ruby or Crystal. It's interesting to know that there are alternatives to bridge these two languages that share the same goal of writing beautiful programs, using a similar syntax. The mentioned crystalruby gem allows interfacing Ruby programs with Crystal, and the shard anyolite allows calling Ruby programs from Crystal.
- Anyolite – Embedded Mruby/Ruby for Crystal
- Embed Crystal code directly in Ruby
-
Long story short: I wrote a Ruby extension in Zig
You can call Ruby script in Crystal though. [0]
And I think Zig would be easier to maintain compare to Rust because it is a simpler language. Sure there is a lot of breaking changes, but it's not much of trouble for a language that can be read in one afternoon (referring to the single page document).
[0]: https://github.com/Anyolite/anyolite
- 💎 `eval` in Crystal language! Anyolite 🟢🔴 is amazing...
- Anyolite 0.12.0 - Easy scripting with mruby in Crystal
What are some alternatives?
rubyinline
stumpy_png - Read/Write PNG images in pure Crystal
wafalyzer - Web Application Firewall (WAF) Detector
m3u8 - Generate and parse m3u8 playlists for HTTP Live Streaming (HLS) in Crystal.
syscall.cr - syscall interface for Crystal
immutable - Thread-safe, persistent, immutable collections for the Crystal language
ulid - Universally Unique Lexicographically Sortable Identifier (ULID) in Crystal
atomic_write.cr - Extends `File` to provide `atomic_write()`.
any_hash.cr - Better JSON::Any for Crystal
aasm.cr - :arrows_clockwise: Easy to use finite state machine for Crystal classes
emoji.cr - :green_heart: Emoji for Crystal
crystagiri - An Html parser library for Crystal (like Nokogiri for Ruby)