Каталог

    Implementing Faster Defers

    Gopher Academy0.0
    23 minutes
    English
    0/12 уроков (0%)
    – из 12

    Implementing Faster Defers

    YouTube·GopherCon

    Explore the optimization of Go's defer statement in this GopherCon 2020 talk by Dan Scales. Learn about the defer keyword's functionality, its comparison to similar features in other languages, and the current implementation including panic call processing. Discover the recent optimization in Go 1.14 that significantly reduces overhead for most defer statements during normal execution, ensuring defers can be used without performance concerns. Gain insights into the defer performance goal, related language constructs, advantages of using defer, and the implementation details of Go's defer. Understand the defer chain, its interaction with panics, and the concept of open-coded defers. Examine compiler notes, panic processing for open-coded defers, and potential future optimizations to further enhance defer performance.

    FreeCourses

    Бесплатные курсы университетов и независимых авторов.

    Каталог на основе данных Class Central. © 2026 Free Courses