A portal between Ruby and Go (using FFI) | Dario Castañé
10-Sep-2022 1007
Thinking about migrating some huge REST APIs from Ruby to Go, I researched how to replace the Ruby code progressively with Go code.I ended up with a possible FFI-based prototype. The solution is to have the Ruby code load a Go library and wrap the Go functions in Ruby classes and methods.
A portal between Ruby and Go (using FFI) | Dario Castañé #ruby #rubydeveloper #rubyonrails #portal #between #(using #Dario #Castañé https://rubyonrails.ba/link/a-portal-between-ruby-and-go-using-ffi-dario-castane