A pull request to add Rust extension support to rubygems

This page summarizes the projects mentioned and recommended in the original post on /r/ruby

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • rubygems

    Library packaging and distribution for Ruby.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • rustygem

    An example of a Ruby gem written in Rust

    Nice! I did this hacky way 6 years ago https://github.com/olegantonyan/rustygem. Rust is just perfect language for high-performance extensions: no garbage collector, no sudden segfaults, builds into shared libraries

  • zig

    General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

    Someone finally did it! You should not be writing C in 2021. I have written plenty of C and it is incredibly difficult to write correctly, due to implicit type promotion between signed/unsigned types and memory mapped nature. Rust is a better option to C, and can generate C libraries due to Rust not having a GC. I also hope this could open the door to Zig extensions. Not everyone might like Rust and it's borrow checker, and might insist on sticking with C due to a false choice between Rust and C. Zig is a nice middle ground between the two, as it has all of the usual benefits of Rust (safe pointers, better type checking, integer under/overflow-checking), but with explicit memory management instead of a borrow checker.

  • zig-pypi

    The Zig programming language, packaged for PyPI

    You could do what the Python folks did and ship Zig as a gem: https://github.com/ziglang/zig-pypi

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Ziggy Pydust: a toolkit for building native Python extensions in Zig

    4 projects | /r/Python | 8 Oct 2023
  • TigerBeetle raises $6.4M to power the future of financial accounting infra

    7 projects | news.ycombinator.com | 30 Jan 2023
  • Help with linking a git submodule for a zig project

    3 projects | /r/Nix | 20 Jan 2023
  • what a wonderful world

    4 projects | /r/ProgrammerHumor | 17 Mar 2022
  • [OC] Why did women stop coding? (1970-2020)

    3 projects | /r/dataisbeautiful | 8 Mar 2022