Long story short: I wrote a Ruby extension in Zig

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • zig

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

  • The Zig Programming Language Discord has a zig-help channel that's pretty responsive if you're ok with Discord. The archive is searchable.

    https://github.com/ziglang/zig/wiki/Community#discord-englis....

    GitHub's code search beta is a good way to find out how other people are doing things with Zig, if you have access to it. For example:

    https://cs.github.com/?scopeName=All+repos&scope=&q=http+pat...

    Some less-known walkthroughs for those new to Zig but comfortable in other languages:

    - A half-hour to learn Zig: https://gist.github.com/ityonemo/769532c2017ed9143f3571e5ac1...

    - Zig Crash Course: https://ikrima.dev/dev-notes/zig/zig-crash-course/

    You can also see how other people have solved problems you might have:

    https://github.com/catdevnull/awesome-zig

  • zaml

    🚀 Fast YAML 1.2 parsing library for Python 3 (by adamserafini)

  • It’s also possible to write Python extensions in Zig: https://github.com/adamserafini/zaml

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • awesome-zig

    A list of awesome projects related to Zig (by catdevnull)

  • The Zig Programming Language Discord has a zig-help channel that's pretty responsive if you're ok with Discord. The archive is searchable.

    https://github.com/ziglang/zig/wiki/Community#discord-englis....

    GitHub's code search beta is a good way to find out how other people are doing things with Zig, if you have access to it. For example:

    https://cs.github.com/?scopeName=All+repos&scope=&q=http+pat...

    Some less-known walkthroughs for those new to Zig but comfortable in other languages:

    - A half-hour to learn Zig: https://gist.github.com/ityonemo/769532c2017ed9143f3571e5ac1...

    - Zig Crash Course: https://ikrima.dev/dev-notes/zig/zig-crash-course/

    You can also see how other people have solved problems you might have:

    https://github.com/catdevnull/awesome-zig

  • simd-json-ruby

    An experiment in creating a Ruby wrapper over simd-json library in Rust

  • I’d be interested in it as well. I imagine the author talks about Rust being hard, cause extending Ruby with Rust doesn’t seem problematic. Here is an example of simd json extension written in Rust using Rutie: https://github.com/drogus/simd-json-ruby/blob/main/src/lib.r...

    It has a bunch of macros that are rather straightforward to use

  • anyolite

    Embedded mruby/Ruby for Crystal

  • 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

  • www.ziglang.org

  • FWIW regarding the package manager, based on the rest of the text my guess is that whoever wrote this intended to say that "Zig will ship with a package manager".

    I created https://github.com/ziglang/www.ziglang.org/pull/228 let's see if it gets accepted :)

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