From cargo to crates.io and back again

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

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

  • @hongotopiadada7574
    @hongotopiadada7574 Год назад +68

    "probably a longer stream" 😃

  • @driedurchin
    @driedurchin Год назад +67

    Wanted to let you know that I started watching your videos in college and have since gotten a job writing space vehicle software using Rust! I wouldn't have even been interested if your flurry VOD didn't hit my recommendations. 🙂

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

      Wow, well done. I think many of us would like to know more about what you are up to with Rust and space vehicles.

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

      @@heater5979 Unfortunately I can't really talk in more detail about it. Proprietary software an all that 😅

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

      @@driedurchin Shame. Maybe one day....

  • @kaloyanmirchev5006
    @kaloyanmirchev5006 Год назад +6

    Big thank you for the stream. This is how a man can have 30 years of programming experience while he is 28 years old :D

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

    Thank You For Your Rust Videos, I can't found good rust videos out there

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

    Awesome rust videos man. You explain things well and are quick to the point. Thank you!

  • @Kage-Yami
    @Kage-Yami Год назад +3

    Wow, from the first 3.5 minutes, this sounds like it will be really interesting to watch! I doubt I'll be watching the whole "3hr 40min" VOD in one go (being a 2x-speed-er, and all), but I absolutely intend to come back to it to finish later. :D

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

    2:39:10 Just for my understading: that will still allocate (and yield a Cow::Owned) if the toml string contains escape sequences, right? Otherwise you wouldn't need Cow and could use straight up &'a str.

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

    Really nice stream!
    Something I’m always curious about: how long does it take you to prepare for such streams? (Preliminary research and thinking how you’ll tackle it)
    The 7h20min work doesn’t feel that long but in the beginning I feel like you already have a pretty good idea of what is there or not in the problem domain and what piece of the puzzle you’re solving. That is one of the parts the amazes me the most 😊

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

    I just had a quick question, since it's probably something I missed: for the current (and hopefully soon-to-be sunsetted) github repo of crates, while I can understand building the initial listing of crates locally, for updating, why is there not a simple master list which contains something like hashes representing file changes for the repo, which cargo then matches and only pulls whatever doesn't match? It would be a single file for the initial update sequence, which could technically help speed things up when fetching from the repo. My understanding is that it basically parses the entire repo, scanning each crate's main file for versioning info, then saving that locally into a reference database of sorts, but how does it detect changes?
    Sorry if it's a stupid question, it just really boggled my mind that there wasn't a seemingly more direct method for updating an existing crate listing locally rather than rolling through the entire listing itself.

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

    5:25:10 It does assume the default is Some(Default::default()) while still allowing an explicit null to be deserialized as None.

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

    Appreciate your work.

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

    Hi! thanks for all the amazing videos. any chance you would consider making a video with your Vim setup. or share the tools names you are using! Thank You!

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

    Is there a way via Serde, or similar, to take my struct and deserialize it into some intermediary and then serialize it as some ither crates struct if that other crate uses `#[non_exhaustive] ` which would prevent a trivial struct literal instance(constructor)?

  • @QmVuamFtaW4
    @QmVuamFtaW4 Год назад +4

    how the hell someone stream on 1440p. thats crazy fast internet speed bro

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

    Its awesome jon. why do't you come up with a full bang on series for rust from zero to advanced. It would be very helpful for noobs like us.

  • @damoon_az2465
    @damoon_az2465 7 месяцев назад

    Thanks!

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

    "Probably a longer stream" - almost 8 hours

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

    How did he peak into the director in the command line before lsing?

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

      His shell is fish - it has a lot of handy stuff like that.

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

      I believe that was an autocomplete feature of fish shell, by pressing tab after typing part of the path.

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

      Are there any zsh equivalents?

    • @pmmeurcatpics
      @pmmeurcatpics Месяц назад

      ​@@_chipzsh-autocomplete or zsh-autosuggestions I think the plugin is called

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

    I blinked twice, expecting the time to change to 7 minutes

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

    What keyboard are you using?

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

    Long video! 🎉