Road to Go gem
Go Sueyoshi
• Matsuyama, Ehime, Japan
• Japanese •
Talk
Date: April 18, 2025
Published: May 27, 2025
Announced: unknown
Go talks about Ruby native extension gem with Go (a.k.a. Go gem).
I created https://github.com/ruby-go-gem/go-gem-wrapper for Go gem. This is a library to make it easier to create Go gem (contains both Go module and Ruby gem).
I will talk the following regarding go-gem-wrapper and Go gem:
* Auto-generate (almost) all of Go's bindings from `ruby.h` (about 1,100 functions)
* Parse CRuby's `ruby.h` with Ruby
* C lang's pointer difficulties from `ruby.h` parser's point of view
* Run `go test` with CRuby
* Pros/Cons of Go gem
* My bundler's patch for Go gem
https://rubykaigi.org/2025/presentations/sue445.html
RubyKaigi 2025