Native Extensions

Ruby meets Go
Masaki Matsushita • December 11, 2015 • Chuo-ku, Tokyo, Japan

http://rubykaigi.org/2015/presentations/mmasaki

In this talk, I will present how to extend your Ruby code with Golang.
Since Go 1.5, you can build C compatible binaries by using buildmode c-shared/c-archive. This is a very exciting feature for rubyists.
First, I'd like to show you how to use Go code from Ruby with FFI and fiddle.
Then, I will talk about how to build gems with Golang.

RubyKaigi 2015

Explore all talks recorded at RubyKaigi 2015
+47