Inlining: bright victories and hidden defeats
The talk will be devoted to a simple optimization - function inlining. We’ll talk about the history and principles of this optimization, how the Go compiler decides when to use it. How it interacts with a runtime and a garbage collector. We’ll look into mid-stack inlining and what benefits it brings. Finally, I’ll show how you can optimize your app or library without changing its API.
Russia, St. Petersburg
Senior Go Engineer
Backend developer at TradingView. I have been using Go since 2012. I’m also interested in high-performance systems and various optimizations with an emphasis on predictability. To this day, my career is proof that “just add more servers” is not always the best solution. My main principle is "simplicity as a form of art".