Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    What's a Memory Allocator Anyway? - Benjamin Feng

    Zig SHOWTIME

    3 HN recommenders · recommended in 3 months, 2020–2021

    YouTube

    48:30 · 89K views · Jun 29, 2020

    A Zig SHOWTIME talk by Benjamin Feng on what a memory allocator is, followed by an interview. It covers allocation strategies and different allocator types in Zig.

    Recommended as a quick, clear overview of allocators and arenas that also shows how Zig approaches allocation.

    Software Engineering & LanguagesC, C++, Rust, Go & systems languagesSoftware performance & optimization
    1. 46:40
      Andrew Kelley: A Practical Guide to Applying Data Oriented Design (DoD)ChimiChanga416K views • 2 years ago
    2. 54:14
      Zig: A programming language designed for robustness, optimality, and clarity –  Andrew KelleyRecurse Center75K views • 8 years ago
    3. 1:12:27
      CppCon 2015: Andrei Alexandrescu “std::allocator...”CppCon196K views • 11 years ago
    4. 59:48
      The Road to Zig 1.0 - Andrew KelleyChariotSolutions168K views • 7 years ago
    5. 30:12
      Casey Muratori | Smart-Pointers, RAII, ZII? Becoming an N+2 programmerxDahl163K views • 2 years ago
    6. 43:20
      Zig Roadmap 2023 - Andrew KelleyZig SHOWTIME77K views • 4 years ago
    7. 1:00:23
      [#36] Zig Roadmap 2024 - Andrew KelleyZig SHOWTIME66K views • 2 years ago
    8. 42:38
      2021: Year of the Linux Gaming Desktop - Andrew KelleyZig SHOWTIME15K views • 5 years ago
    9. 1:16:58
      code::dive conference 2014 - Scott Meyers: Cpu Caches and Why You CareNOKIA Technology Center Wrocław231K views • 11 years ago
    10. 1:13:11
      Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley ExplainsJetBrains982K views • 5 months ago
    11. 1:27:46
      CppCon 2014: Mike Acton "Data-Oriented Design and C++"CppCon863K views • 12 years ago
    12. 52:54
      Rust at speed — building a fast concurrent databaseJon Gjengset225K views • 7 years ago
    13. 48:46
      Rust's Journey to Async/AwaitInfoQ90K views • 6 years ago
    14. 42:20
      Writing a Wayland Compositor in Zig - Isaac FreundZig SHOWTIME26K views • 6 years ago
    15. 3:03:54
      The Why, What, and How of Pinning in RustJon Gjengset87K views • 7 years ago
    16. 49:20
      Modeling Data Concurrency w/ Asynchronous I/O in Zig - RedisConf 2020Redis11K views • 6 years ago
    17. 2:34:01
      Crust of Rust: async/awaitJon Gjengset246K views • 5 years ago
    18. 1:14:22
      CppCon 2017: Fedor Pikus “C++ atomics, from basic to advanced. What do they really do?”CppCon289K views • 9 years ago
    19. 1:32:33
      C++ and Beyond 2012: Herb Sutter - atomic Weapons 2 of 2alexsmail29K views • 8 years ago
    20. 32:24
      RustLatam 2019 - Without Boats: Zero-Cost Async IORust Programming Language55K views • 7 years ago

    3 comments from Hacker News

    1. @RendelloFeb 2021· in “The effect of switching to TCMalloc on RocksDB memory use”

      It's interesting that I saw this post minutes after watching the talk "What's a Memory Allocator Anyway?" by Benjamin Feng. It's ostensibly about Zig's allocation schemes, but it's more of a general overview of the varied (single-thread) allocation strategies in use today. It made me really want to try out arena allocators It's a quick watch at 1.5x speed, the last third is an interview. 1. this video

      RecommendsView on HN
    2. @kristoff_itMar 2021· in “Drop millions of allocations by using a linked list (2015)”

      For an overview of how Zig does this and at the same time a nice overview on different types of allocators: What's a Memory Allocator Anyway? by Benjamin Feng this video

      RecommendsView on HN
    3. @snicker7Oct 2020· in “Custom Allocators Demystified”

      Would recommend watching the "What's a Memory Allocator, Anyway?" talk from Zig contributor Benjamin Feng: this video

      RecommendsView on HN