[前][次][番号順一覧][スレッド一覧]

ruby-changes:68787

From: Maxime <ko1@a...>
Date: Thu, 21 Oct 2021 08:13:33 +0900 (JST)
Subject: [ruby-changes:68787] 701a802a42 (master): Create ujit.md

https://git.ruby-lang.org/ruby.git/commit/?id=701a802a42

From 701a802a4278ea7393d7a63b465e610eb6b47d3f Mon Sep 17 00:00:00 2001
From: Maxime Chevalier-Boisvert <maximechevalierb@g...>
Date: Thu, 18 Feb 2021 17:26:42 -0500
Subject: Create ujit.md

---
 doc/ujit.md | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 doc/ujit.md

diff --git a/doc/ujit.md b/doc/ujit.md
new file mode 100644
index 0000000000..fe73aef1b0
--- /dev/null
+++ b/doc/ujit.md
@@ -0,0 +1,30 @@ https://github.com/ruby/ruby/blob/trunk/doc/ujit.md#L1
+MicroJIT (uJIT)
+===============
+
+MicroJIT is a lightweight, minimalistic Ruby JIT built inside the CRuby/MRI binary.
+It lazily compiles code using a Basic Block Versioning (BBV) architecture and generates x86-64 code. The target use case is that of servers running
+Ruby on Rails, an area where CRuby's MJIT has not yet managed to deliver speedups. We currently support only MacOS and Linux at this stage. This
+project is open source and falls under the same license as CRuby.
+
+## Installation
+
+The uJIT `ruby` binary can be built with either GCC or Clang.  We recommend enabling debug symbols so that assertions are enabled
+
+```
+autoconf
+./configure cppflags=-DRUBY_DEBUG --prefix=$HOME/.rubies/ruby-microjit
+make -j16 install
+```
+
+Once uJIT is built, you can either use `./miniruby` from within your build directory, or switch to the uJIT version of `ruby`
+by using the `chruby` tool:
+
+```
+chruby ruby-microjit
+```
+
+## Source Code Organization
+
+## Contributing
+
+If you are interested in contributing to this project, please contact Maxime Chevalier [(@Love2Code) via twitter](https://twitter.com/Love2Code).
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]