How Rust's println! macro really works

Поділитися
Вставка
  • Опубліковано 29 січ 2025

КОМЕНТАРІ • 20

  • @_Spartan-107_
    @_Spartan-107_ 6 місяців тому

    These videos are insanely awesome. I LOVE the verbosity. Most of the internet videos are a high level abstraction of "what is programming". This breakdown of "What is happening when we program" is what's lacking in engineering these days! Well done :)

  • @samuelgunter
    @samuelgunter 2 роки тому +2

    one thing missed was mentioning flushing in expansion of what println does under the hood. also loved the debugging part (that it feels like you were going to edit out but either chose not to or forgot)

  • @DavidEngelen
    @DavidEngelen 2 роки тому +5

    Love these Rust videos 💘

    • @chrishayuk
      @chrishayuk  2 роки тому +1

      so glad you like them, definitely more to come

  • @LeandroCoutinho
    @LeandroCoutinho 2 роки тому +1

    Nice way to present!
    You in the background of transparent windows. Blue light, Red glasses xD
    Sometimes it seems Matrix :P

  • @megarex7224
    @megarex7224 2 роки тому +2

    Nice video, great explanation

  • @andrew15_5
    @andrew15_5 6 місяців тому +1

    I'm not sure, but judging by the shape of the microphone you should speak to it from the longest+widest side.

  • @mytvhome7394
    @mytvhome7394 Рік тому

    Hi Chris, i'd LOVE a comparative between Rust and Zig

  • @JavierHarford
    @JavierHarford 2 роки тому +1

    Love the presentation of this, plus Rust is awesome if a little frustrating (thanks to Rustlings for a great guided tour though)
    How did you create this transparent effect please?

  • @Ryan-xq3kl
    @Ryan-xq3kl 2 роки тому +2

    The format macro is like the println macro but on the go! lol

  • @guilherme5094
    @guilherme5094 2 роки тому +1

    👍Yes, thanks!

  • @paulkre
    @paulkre 2 роки тому +2

    This explanation missed an emphasis on the fact that println!() supports an arbitrary number of parameters. The advantages of using macros mentioned in this video, i.e. reducing complexity, apply to regular functions too.

    • @chrishayuk
      @chrishayuk  2 роки тому

      I covered that in the last section of the video but apologies if I didn’t emphasize that enough but spot on your point

  • @andrew15_5
    @andrew15_5 6 місяців тому +1

    18:35 I suggest cutting out this section since it's essentially a bad take with no comments.

    • @chrishayuk
      @chrishayuk  6 місяців тому

      Yeah normally I’d edit that out, not sure how I missed that,thanks

  • @aftalavera
    @aftalavera Рік тому

    For 100% of the people using rust go was more than enough! Shit actually and overkill! Why did you leave python? Im so sick of this bs

    • @chrishayuk
      @chrishayuk  Рік тому +1

      Mmm, never left python, I code in multiple languages. As such the channel doesn’t represent one language and never will.