dlopen & dlsym in Ruby with Fiddle | C++ | Compiler Hacking
Tim Morgan
Fiddle is a Ruby wrapper for dlopen/dlsym and libffi. In this video, we're going to implement just enough of Fiddle to get our REPL to work when Natalie is self-hosted.
About the Project: Natalie is a very early-stage work-in-progress Ruby implementation that compiles Ruby to an executable. It does so by compiling Ruby to C++ and feeding it to gcc or clang to produce a binary.
GitHub: https://github.com/seven1m/natalie Twitter: https://twitter.com/timmrgn
#programming #compiler #ruby #enumerable #methods ... https://www.youtube.com/watch?v=c4eVZsfiepQ
2021-08-02
0.0 LBC
Copyrighted (contact publisher)
285839379 Bytes