Implementing Faster Defers - Dan Scales

preview_player
Показать описание
GopherCon 2020: Implementing Faster Defers - Dan Scales

In this presentation, Dan will talk about the Go defer statement in general and do a comparison with related features in other programming languages. He will describe the current implementation of defer (including processing during panic calls). Dan will then discuss the recent optimization that was done for Go 1.14 that greatly reduces the overhead of most defer statements during normal execution. This optimization should ensure that defers can be used when desired and should not have to be removed for performance reasons.
Рекомендации по теме
Комментарии
Автор

Brilliant talk? Thanks Dan for improving the runtime and our programs 🎉

AjitemSahasrabuddhe
Автор

Excellent presentation. Thanks for your work improving defers, Dan!

markcrknz