зеркало из https://github.com/github/ruby.git
[ruby/yarp] Clarify shared library
https://github.com/ruby/yarp/commit/0b174b76f1 Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
This commit is contained in:
Родитель
70ef66f240
Коммит
11f10bb1ac
|
@ -32,7 +32,7 @@ When installing the gem, `extconf.rb` is used and that:
|
|||
* compiles the C extension with mkmf
|
||||
|
||||
When installing the gem on JRuby and TruffleRuby, no C extension is built, so instead of the last step,
|
||||
there is Ruby code using Fiddle which uses `librubyparser.so/dylib/dll`
|
||||
there is Ruby code using Fiddle which uses `librubyparser.{so,dylib,dll}`
|
||||
to implement the same methods as the C extension, but using serialization instead of many native calls/accesses
|
||||
(JRuby does not support C extensions, serialization is faster on TruffleRuby than the C extension).
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче