crystalruby
llvm-project
crystalruby | llvm-project | |
---|---|---|
4 | 372 | |
597 | 28,419 | |
- | 2.6% | |
6.6 | 10.0 | |
about 1 month ago | 5 days ago | |
Ruby | LLVM | |
MIT License | GNU General Public License v3.0 or later |
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
llvm-project
-
CRLF is obsolete and should be abolished
https://llvm.org/
-
Improve an algorithm performance step by step
I tried PGO and BOLT but didn't get any improvement.
-
Show HN: SSO – Small String Optimization
But I'm still sure that there are several UB's in my code :)
[1] https://tunglevo.com/note/an-optimization-thats-impossible-i...
[2] https://github.com/gcc-mirror/gcc/blob/d09131eea083e80ccad60...
[3] https://github.com/llvm/llvm-project/blob/4468d58080d0502a05...
- macOS Sequoia is certified to Unix 03
-
Linux Pipes Are Slow
Which is these is "faster" depends greatly on whether you have the very rare memcpy-only workload, or if your program actually does something useful. Many people believe, often with good evidence, that the most important thing is for memcpy to occupy as few instruction cache lines as is practical, instead of being something that branches all over kilobytes of machine code. For comparison, see the x86 implementations in LLVM libc.
https://github.com/llvm/llvm-project/blob/main/libc/src/stri...
- RP2350 Hazard3 Added to LLVM
-
Parsing protobuf at 2+GB/s: how I learned to love tail calls in C
Since preserve_none is Clang-only and only available on recent compilers, it would introduce an ABI hazard between the core library and generated code. We don't want to cause crashes if you compile protobuf with one compiler and generated code with another.
Also until quite recently preserve_none was incompatible with the sanitizers, but I believe this may have been fixed by: https://github.com/llvm/llvm-project/pull/81048
-
Improving _Generic in C2y
I am being silenced for speaking the truth! https://github.com/llvm/llvm-project/commit/12728e144994efe8...
-
Hash-Based Bisect Debugging in Compilers and Runtimes
LLVM can bisect down to individual transformation steps within a pass (for passes that implement the interface): https://llvm.org/docs/OptBisect.html
And there is a script bisecting functions when given assembly produced by working baseline and “bad” compiler to compare: https://github.com/llvm/llvm-project/blob/main/llvm/utils/ab...
-
Why you should keep an eye on Apache DataFusion and its community.
Similarly, LLVM revolutionized the world of programming languages and compilers. Since its creation, we've seen many new languages being created of increased complexity.
What are some alternatives?
rubyinline
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
anyolite - Embedded mruby/Ruby for Crystal
gcc
Lark - Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
cosmopolitan - build-once run-anywhere c library
SDL - Simple Directmedia Layer
windmill - Open-source developer platform to power your entire infra and turn scripts into webhooks, workflows and UIs. Fastest workflow engine (13x vs Airflow). Open-source alternative to Retool and Temporal.
STL - MSVC's implementation of the C++ Standard Library.
dmd - dmd D Programming Language compiler
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
rust - Empowering everyone to build reliable and efficient software.