Skip to content
vic

ruby-llvm/ruby-llvm

Ruby bindings for LLVM

ruby-llvm/ruby-llvm.json
{
"createdAt": "2012-09-21T06:37:33Z",
"defaultBranch": "master",
"description": "Ruby bindings for LLVM",
"fullName": "ruby-llvm/ruby-llvm",
"homepage": null,
"language": "Ruby",
"name": "ruby-llvm",
"pushedAt": "2025-08-30T09:32:26Z",
"stargazersCount": 280,
"topics": [],
"updatedAt": "2025-11-03T12:11:27Z",
"url": "https://github.com/ruby-llvm/ruby-llvm"
}

Known Vulnerabilities Code Climate Maintainability Code Climate Issue Count

Ruby-LLVM is a Ruby language binding to the LLVM compiler infrastructure library. LLVM allows users to create just-in-time (JIT) compilers, ahead-of-time (AOT) compilers for multiple architectures, code analyzers and more. LLVM bindings can also be used to speed up Ruby code by compiling and loading computationally intensive algorithms on the fly.

This library currently binds to LLVM-18 (specifically llvm-c 18.

The first two digits of ruby-llvm’s version number refer to the required major and minor version of LLVM. The third digit refers to the ruby-llvm release itself. Because LLVM’s api changes often, this coupling between LLVM and ruby-llvm versions is useful.

LLVM Debian/Ubuntu Packages

LLVM can be installed with Homebrew by executing brew install llvm --shared

  • LLVM Download Page
  • If compiling from source the —enable-shared and —enable-jit flags may be needed.

Ruby-LLVM is available under the BSD 3-clause (see LICENSE), Copyright (c) 2010-2013 Jeremy Voorhis

Ruby-LLVM is possible because of its contributors:

  • Evan Phoenix
  • David Holroyd
  • Takanori Ishikawa
  • Ronaldo M. Ferraz
  • Mac Malone
  • Chris Wailes
  • Ary Borenszweig
  • Richard Musiol
  • Juan Wajnerman
  • Steven Farlie
  • Peter Zotov
  • Austin Seipp
  • Torsten Rüger
  • Nathaniel Barnes