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

    Charlie Marsh: uv: An Extremely Fast Python Package Manager

    Jane Street

    3 HN recommenders · recommended in 4 months, 2024–2025

    YouTube

    40:34 · 108K views · Oct 23, 2024

    Charlie Marsh of Astral explains how uv, a Rust Python package manager, got so fast. He covers allocators, concurrency, zero-copy tricks and the challenges of Python packaging.

    Recommended as a fascinating technical account of the optimizations behind uv's speed.

    Software Engineering & LanguagesPython, Ruby & scripting languagesSoftware performance & optimizationC, C++, Rust, Go & systems languages
    1. 59:11
      How to Speed up a Python Program 114,000 times.InfoQ171K views • 13 years ago
    2. 42:44
      Armin Ronacher - A Python for Future GenerationsEuroPython Conference6.2K views • 9 years ago
    3. 32:07
      Larry Hastings - Removing Python's GIL: The Gilectomy - PyCon 2016PyCon 201649K views • 10 years ago
    4. 1:13:41
      CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures"CppCon235K views • 12 years ago
    5. 42:15
      "Performance Matters" by Emery BergerStrange Loop Conference502K views • 7 years ago
    6. 46:10
      Understanding the Python GILDavid Beazley127K views • 14 years ago
    7. 52:54
      Rust at speed — building a fast concurrent databaseJon Gjengset225K views • 7 years ago
    8. 49:55
      How Python was Shaped by leaky Internals, Armin Ronacher, Flask frameworkВидео с мероприятий {speach!20K views • 10 years ago
    9. 13:45
      A 10x faster TypeScriptMicrosoft Developer608K views • 1 year ago
    10. 29:47
      The Truth about Rust/WebAssembly PerformanceGreg Johnston218K views • 3 years ago
    11. 34:55
      "Outperforming Imperative with Pure Functional Languages" by Richard FeldmanStrange Loop Conference98K views • 5 years ago
    12. 51:04
      [EPILEPSY WARNING] How fast should an unoptimized terminal run?Molly Rocket193K views • 5 years ago
    13. 40:18
      "Compacting the Uncompactable" by Bobby PowersStrange Loop Conference29K views • 7 years ago
    14. 48:04
      "NTFS really isn't that bad" - Robert Collins (LCA 2020)linux.conf.au161K views • 6 years ago
    15. 1:00:40
      Dmitry Vyukov — Go scheduler: Implementing language with lightweight concurrencyHydra47K views • 7 years ago
    16. 47:34
      RailsConf 2011: Aaron Patterson, "Double Dream Hands: So Intense!"O'Reilly26K views • 15 years ago
    17. 1:02:17
      'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]ACCU Conference34K views • 10 years ago
    18. 1:19:52
      CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”CppCon264K views • 10 years ago
    19. 25:52
      Halide TalkAndrew Adams53K views • 12 years ago
    20. 1:54:00
      Can C++ be 10x Simpler & Safer? - Herb Sutter - CppCon 2022CppCon277K views • 3 years ago

    4 comments from Hacker News

    1. @kolja005Nov 2024· in “Using uv with PyTorch”

      I recently watched a talk by the author of uv that was surprisingly fascinating [1]. He goes into a few of the more notable hacks that they had to come up with to make it as fast as it is. The most interesting thing for me was that package resolution in python given constraints defined (eg. in requirements.txt) maps to a boolean satisfiability problem which is NP-complete. So uv uses a custom SAT solver to do this. I totally under-appreciated how much goes into this software and I'm bummed I have to use Poetry at work after having watched this talk. [1] this video edit: NP-complete not NP-hard

      Strongly recommendsView on HN
    2. @krickDec 2025· in “How uv got so fast”

      To be fair, the whole post isn't very good IMO, regardless of ChatGPT involvement, and it's weird how some people seem to treat it like some kind of revelation. I mean, of course it wasn't specifically Rust that made it fast, it's really a banal statement: you need only very moderate serious programming experience to know, that rewriting legacy system from scratch can make it faster even if you rewrite it in a "slower" language. There have been C++ systems that became faster when rewritten in Python, for god's sake. That's what makes system a "legacy" system: it does a ton of things and nobody really knows what it does anymore. But when listing things that made uv faster it really mentions some silly things, among others. Like, it doesn't parse pip.conf. Right, sure, the secret of uv's speed lies in not-parsing other package manager's config files. Great. So all in all, yes, no doubt that hundreds of little things contributed into making uv faster, but listing a few dozens of them (surely a non-exhaustive lists) doesn't really enable you to make any conclusions about the relative importance of different improvements whatsoever. I suppose the mentioned talk[0] (even though it's more than a year old now) would serve as a better technical report. [0] this video

      RecommendsView on HN
    3. @globular-toastJun 2025· in “uv: An extremely fast Python package and project manager, written in Rust”

      There is a talk about it from one of the authors here: this video tl;dw Rust, a fast SAT solver, micro-optimisation of key components, caching, and hardlinks/CoW.

      RecommendsView on HN
    4. @snthpyDec 2024· in “Rust regex engine internals as a library”

      So much love for @burntsushi He's improved my life in so many ways, rg, ... and now also in Python with uv! Glad to see Charlie giving him the credit for figuring out the version comparison optimization in uv in [1]. Also huge thank you to the whole Astral team for all they're doing on uv It's magic! 1: this video

      CitesView on HN