Rust Releases! Rust 1.71.0

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 52

  • @Dygear
    @Dygear Год назад +59

    Thank you for not just reading the notes and actually showing all of the details of each item. It really helps digest all of this.

    • @NathanStocks
      @NathanStocks  Год назад +9

      You’re welcome! The idea is to provide some news that is useful and interesting, and not immediately obvious. Hopefully I’m succeeding at that!

  • @appelnonsurtaxe
    @appelnonsurtaxe Год назад +5

    This clarifies the 10% of the changelog I didn't understand, thanks for the video!
    I'm very curious about the gdb stuff. Idk much about custom gdb pretty-printers but I had this exact need 2 months ago when wanting to inspect a syntax tree from the "rowan" library from within GDB. The opaqueness and use of unsafe of this structure made it pretty much impossible to inspect.
    I may try to implement a pretty printer for them actually, as an exercise. They may be interested in a PR.

  • @jimhrelb2135
    @jimhrelb2135 Год назад +1

    4:54 excuse the nitpicking, while the term ‘flatten’ is probably understood after you’ve shown the code example, I believe it is misleading.
    I suggest ‘substituted at compile time’, or if you want a single word (though probably make everyone scratches their head but is useful if you want to keep notes short and concise) ‘beta-reduced’

    • @NathanStocks
      @NathanStocks  Год назад

      "substituted at compile time" is a nice way to word it 👍🏻

  • @aaarkid
    @aaarkid Год назад +9

    I have to say, you've become my favorite, hence only creator I watch for Rust updates. You just put those updates better than other creators out there. Keep up the good work, I'm pretty sure you can only go up from here.

    • @aaarkid
      @aaarkid Год назад

      Only feedback I want to give is that you sometimes "sing" what you say, every few words you prolong the last syllable, i.e. 6:14 "how to joiiin". Try to teach yourself not to do that in a video, there are many cases you do that and it's slightly annoying for the viewer. Cheers!

    • @NathanStocks
      @NathanStocks  Год назад

      @@aaarkid Why is it annoying to add inflection to words?

    • @aaarkid
      @aaarkid Год назад

      @@NathanStocks I'd say most of the time is fine, but sometimes you pronounce the inflection pretty hard. The example timestamp above is a good example. It's not really annoying, just slightly when it's so pronounced. Hope that makes sense.
      As I said you're the most enjoyable creator for me in terms of Rust update so I think the engaging tone (on a somewhat boring topic) and the good display of the features is working pretty good. I understand the inflection is part of that engaging tone which is a great idea, but sometimes I wish you didn't go so hard on it. Or maybe I'm wrong and those pronounced syllables are the secret sauce, it's hard to decide here.

    • @NathanStocks
      @NathanStocks  Год назад

      @@aaarkid Thanks for the additional details!

  • @holly_hacker
    @holly_hacker Год назад +1

    Some feedback, when using RUclips's closed captions, they often cover some of the text you are trying to show on-screen such as at 9:25. If you leave some padding to the bottom of your video, this doesn't happen as often.

  • @jocketf3083
    @jocketf3083 Год назад +1

    Awesome, thank you!

  • @porky1118
    @porky1118 Год назад

    7:55 So is it already possible to implement a trait like this yourself?
    Even if it's not, this basically allows implementing many things for arbitrary sized tuples if you can convert it into an array.

    • @porky1118
      @porky1118 Год назад

      Oh, I just realized it's only for N from 1 to 12. So no.

    • @NathanStocks
      @NathanStocks  Год назад +1

      I think you could do the same sort of approach that the standard library does to implement things for tuples of *various* sizes. They have a macro that produces implementations for arity of 1 to 12, and others could probably do the same thing (and even support somewhat larger arities if they wanted to). However, as you seem to have already concluded in your self-reply, there is not (yet) a way to implement something broadly for tuples of all arities. I'm hoping const-generics is extended to cover that case in the future.

  • @meka4996
    @meka4996 Год назад +1

    Thank you for the update

  • @mitepainera69
    @mitepainera69 Год назад

    Do you guys know similar channel but with javascript/react new things and documentation being read and implemented

    • @NathanStocks
      @NathanStocks  Год назад

      Sorry, I don't! I disavowed front end development the fourth time everything I knew became obsolete. Perhaps some other kind front-end developers will chime in, though.

  • @Kuratius
    @Kuratius Год назад

    Call me when Rust is actually stable enough to recompile its own standard library with LTO without an unstable compiler.

    • @NathanStocks
      @NathanStocks  Год назад

      I'll do better than that, I'll post another video covering it! 😄

  • @alfiedotwtf
    @alfiedotwtf Год назад

    I don't know...although nice, I'd expect everything should be inherited from the workspace by default, but you have have the facility to None it out or override

    • @NathanStocks
      @NathanStocks  Год назад +1

      I'm a fan of things like this being explicit so you can reason about it by simply looking at it. The less invisible rules to remember, the better. YMMV, of course.

  • @happygofishing
    @happygofishing Год назад

    love musl!

    • @NathanStocks
      @NathanStocks  Год назад

      Tell me what you like about it!

    • @jocketf3083
      @jocketf3083 Год назад +1

      @@NathanStocks While I'm not the original poster, it's super nice to be able to build static binaries that can run anywhere. Single file (and thus tiny) container images are part of that.

  • @irlshrek
    @irlshrek Год назад +1

    i think i understood like 10% of this haha

    • @NathanStocks
      @NathanStocks  Год назад

      Do you have any specific questions I can answer for you?

  • @dimitrobest5293
    @dimitrobest5293 Год назад

    please make a review on vlang

    • @NathanStocks
      @NathanStocks  Год назад

      TIL about the existence of V. Thanks! I have no current plans to make language review videos, but if I ever do, this looks like an interesting entry.

  • @peculiar-coding-endeavours
    @peculiar-coding-endeavours Год назад +1

    Great summary of the new features. As a European, this "US style" of narrating stuff, the tone of it, is EXTREEEMELY annoying :-D

    • @NathanStocks
      @NathanStocks  Год назад +2

      I’m glad you liked the summary!

    • @peculiar-coding-endeavours
      @peculiar-coding-endeavours Год назад +1

      @@NathanStocks
      Liking your rust courses on Udemy too btw. Good work.

    • @FakeMichau
      @FakeMichau Год назад +3

      I don't quite understand what you mean, as a European

    • @Anon.G
      @Anon.G Год назад +1

      ​@@FakeMichau because it doesn't make sense

    • @NathanStocks
      @NathanStocks  Год назад

      @@peculiar-coding-endeavours Thank you for your kind words!

  • @CGFUN829
    @CGFUN829 Год назад

    i thought you are talking about rust the game! the algorithm is wrong.

    • @peterradziewicz4685
      @peterradziewicz4685 Год назад +2

      Tis a sign for you to learn programming !

    • @CGFUN829
      @CGFUN829 Год назад +2

      @@peterradziewicz4685 believe it or not after this video i came a cross a github repo that uses rust thing cmd to be build. the algo was not wrong? the algo is scary!

    • @NathanStocks
      @NathanStocks  Год назад

      That is an unfortunate naming collision. Rust (the language) will be used to create many, many games, though. 😄

  • @swikarsharma3118
    @swikarsharma3118 Год назад +1

    any version updates on rust foundation stupidity?

    • @appelnonsurtaxe
      @appelnonsurtaxe Год назад +7

      Dude if you're still talking about the trademark thing, move on.
      It was just a proposal with request for opinion, nothing concrete. Stop creating and fueling drama out of thin air, you're just being toxic and making the community look toxic.
      No hate against you, I just think that you're wasting efforts for no good reason.

    • @swikarsharma3118
      @swikarsharma3118 Год назад +1

      @@appelnonsurtaxe lol your effort was bigger than mine here lmao

    • @PanosPitsi
      @PanosPitsi Год назад

      @@appelnonsurtaxeyou didn’t say rust trademark you said the trademark fearing a lawsuit 💀

    • @PanosPitsi
      @PanosPitsi Год назад

      @@appelnonsurtaxeanyways rust is c++ but raider and with 0 use cases and Jobs.

    • @NathanStocks
      @NathanStocks  Год назад +3

      I'm of the opinion the Rust Foundation and the Rust Project (which are separate organizations) are both generally made up decent humans attempting to do good things. I'm not particularly concerned that they are making missteps as they learn and grow, seeing as how they continue to self-improve the organizations. I'll call out any specific, relevant concerns I have as the topics come up (as I will in my RustConf video), but generally I don't find much to be concerned about.

  • @DMSBrian24
    @DMSBrian24 Год назад

    This video gave me impostor syndrome xD

    • @DMSBrian24
      @DMSBrian24 Год назад +1

      can someone point me in the right direction to learn about systems programming to be able to understand this magic talk?

    • @NathanStocks
      @NathanStocks  Год назад

      @@DMSBrian24 Well, I teach online Rust courses, but without some context I'm not sure if you're ready to take them yet (they're targeted at professional software developers). Assuming you are an adult, I'd be happy to have a quick video chat with you some time and give you some free advice on books/courses/classes/schools depending on your experience level. Email me at nathan@agileperception.com if you're interested and we can set something up.