C Ruby? C Ruby Go! Go Ruby Go!
summary
Tool gorb generates native extension wrappers that turn ordinary Go packages into compiled .so libraries callable from MRI Ruby, using a command like gorbgen to auto-generate the CRuby boilerplate and run Go build. Examples include a Fibonacci microbenchmark (about 10x speed over Ruby), an HTTP server and mutable-array interop. It builds with an embedded Go runtime and works, but has limits: GIL constraints, limited block and channel support, restricted array and stdlib type mappings.
AI-written summary · about
chapters (15)
- 0:00Start
- 1:14JavaScript C#
- 1:43Ruby is...
- 2:30fast, simple.
- 9:31What is gorb?
- 9:59How do we connect Go to Ruby?
- 10:11Native Extensions
- 14:53And the code is fast.
- 27:55Read funcs, structs
- 28:25Internal representation Abstract AST
- 29:47Limitations Aplenty
- 32:37Alternatives...
- 36:21Practice Automating
- 36:49Automating Anyting
- 37:14Automate Cooking?








