Slide 7
Slide 7 text
Looking at cgo
- How to make it easier to integrate new language runtimes?
- A lot of language runtimes are embeddable and have nice
APIs for that.
- In-process request passing.
- “Mapping” our http.Request to C structs (and passing them)
makes sense, but it’s hard to maintain, we also need to pass
session objects (lot of fields and nested structures).
- We decided to use Protocol Buffers, it has a significant
overhead but makes it maintainable.