GopherCon 2018: Sean T. Allen - Adventures in Cgo Performance

preview_player
Показать описание
Cgo is a powerful tool in the Go programmer’s arsenal. It allows Go programmers to interoperate with other languages. However, Cgo documentation is scarce and best practices for performance are hard to come by. In this tutorial session, Sean will discuss lessons he has learned working on the Go API for Wallaroo, a high-performance distributed stream processor written in Pony.

In this talk, Sean will cover hard-won knowledge about using Cgo in performance sensitive code including: ways in which Cgo makes interoperation with other languages difficult, how you can work around common sources of performance and scaling problems, and an issue with the Go runtime that can't be worked around.
Рекомендации по теме
Комментарии
Автор

Great talk! feel a bit disappointed about this huge performance decrease that is still not resolved, this is the main reason that we end migrating our entire code to Rust, it is just unreliable, A LOT of the code that move the world today is written in C or an FFI friendly language but for some reason the Go community and the maintainers of the language do not want to affront the reality that Go's "simple" design ended being a problem for large multi-language projects

Antonio-yyec