PyO3: From Python to Rust and Back Again (with David Hewitt)

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 29

  • @lycantropos
    @lycantropos 4 หลายเดือนก่อน +15

    The man, the legend himself, thanks for the great work. PyO3 introduced Rust to me some years ago, and I will be forever grateful for such a smooth experience.

  • @victoroliari9479
    @victoroliari9479 4 หลายเดือนก่อน +8

    It would be great to see you interviewing Casey Muratori.
    Casey holds a lot of knowledge about game development and low level code. I suppose a portion of your audience would enjoy lisening to him.
    I really enjoy the way you interview people. You’ve got real coding experience and you inspire your guests to talk about their technical solutions. It has depth in it.
    Casey is advertising his new course with cool stuff about low level language and CPU architecture. He keeps going to « young » interviewers that can’t extract the depth like you do.

  • @michaelscofield2652
    @michaelscofield2652 4 หลายเดือนก่อน +3

    My first Rust project was using PYO3 and I was amazed by how quickly you can learn by doing. Great job David and all the others working on PYO3!

  • @MultiMojo
    @MultiMojo 4 หลายเดือนก่อน +13

    This channel deserves a lot more subscribers.

  • @linkernick5379
    @linkernick5379 4 หลายเดือนก่อน +1

    This project, PyO3, is the life-changing one. I was really surprised, that even async Rust functions work too. Wonderful job, David!

  • @itopaloglu83
    @itopaloglu83 4 หลายเดือนก่อน +7

    Really love the new detailed chapter markers. 👍

    • @DeveloperVoices
      @DeveloperVoices  4 หลายเดือนก่อน +5

      Glad you like them! I have a new process for gathering them as I edit, so they should be appearing much more regularly from now on. 😅

  • @faldarith
    @faldarith 4 หลายเดือนก่อน +1

    I’ve been a Spotify listener for awhile now; this is an excellent episode of an excellent show.

  • @phononify
    @phononify 4 หลายเดือนก่อน +1

    Very interesting (and sympathetic) talk!

  • @jamesarthurkimbell
    @jamesarthurkimbell 4 หลายเดือนก่อน +30

    I've always feared that someday, someone would pronounce "numpy" like that

    • @DeveloperVoices
      @DeveloperVoices  4 หลายเดือนก่อน +4

      😂

    • @damienlmoore
      @damienlmoore 4 หลายเดือนก่อน +1

      Which way is the bad way?

    • @jamesarthurkimbell
      @jamesarthurkimbell 4 หลายเดือนก่อน +1

      ​@@damienlmoore Rhyming with "bumpy" is the bad way (imo)

  • @cj-ip3zh
    @cj-ip3zh 4 หลายเดือนก่อน +10

    PyO3 is exciting, as it Mojo. I've used cpp and python ctypes to remove python in hotspots of programs before, I wouldn't say it was painful but the learning curve was there and works well once it works. Low friction interop between Python and performant compiled languages offers something superior to a Python4. Imagine being able to call, cpp, rust, go, zig, mojo all from python as first class functionality...

  • @MrHopp24
    @MrHopp24 4 หลายเดือนก่อน +2

    Another great episode! Getting Charlie Marsh would be an amazing interview and follow up to this!

    • @DeveloperVoices
      @DeveloperVoices  4 หลายเดือนก่อน +2

      Yes, definitely. I've sent him an email... 👍

  • @vikaspoddar001
    @vikaspoddar001 หลายเดือนก่อน

    There is rye build system written in rust and its being developed by flask's (web micro-framework for python) author. Currently, its maintained under astral

  • @driedurchin
    @driedurchin 4 หลายเดือนก่อน +6

    My 2 cents. Another compelling use case for PyO3 is when you have a Rust library implementing some complex logic that you need to share with various levels of your stack. PyO3 allows you to wrap an already complete, full featured, tested Rust library with a Python API with minimal effort.

  • @vikingthedude
    @vikingthedude 4 หลายเดือนก่อน +5

    Will we be getting a python + zig interop episode next?

    • @DeveloperVoices
      @DeveloperVoices  4 หลายเดือนก่อน +9

      Yes. Kinda. Check back in two weeks for the exact answer. 😀

  • @frankc2119
    @frankc2119 4 หลายเดือนก่อน +1

    Could you do an interview with the creator of the C3 language? It is a C alternative that fits in a similar spot to Odin and Zig.

  • @SirSomnolent
    @SirSomnolent 4 หลายเดือนก่อน

    Combine python dependency concerns with rust borrow checker and async? Heaven.

  • @vikaspoddar001
    @vikaspoddar001 หลายเดือนก่อน

    Can you workout a podcast episode with the devs of rustpython interpreter

  • @3DArea
    @3DArea 4 หลายเดือนก่อน +1

    Absolutely terrific interview but it makes me thinking... excluding DS and researchers... maybe, just maybe... we should stop asking half of the C, C++ and Rust community to write the heavy lifting code, so the other half can keep using Python?

    • @lycantropos
      @lycantropos 4 หลายเดือนก่อน +3

      Python is a great "glue" language and no-one asks anyone, Python programmers are doing most of it by themselves

    • @perc-ai
      @perc-ai 4 หลายเดือนก่อน

      @@lycantropos the only language that may be the future is Mojo and Python every other language has its use cases but I just see them dying out eventually