Build your Rust lightsaber

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2022
  • A lightning talk showing you how I built my Rust toolkit, and giving you options for how to build you own.
    If you would like to support what I do, I have set up a patreon here: / noboilerplate Thank you!
    All my videos are built in compile-checked markdown, transcript sourcecode available here github.com/0atman/noboilerplate
    All corrections are in the pinned ERRATA comment.
    Start your Rust journey here: doc.rust-lang.org/stable/book/
    CREDITS & PROMO
    My name is Tris Oaten and I produce fast, technical videos.
    Follow me here / 0atman
    If you like sci-fi, I also produce a hopepunk podcast narrated by a little AI, videos written in Rust! www.lostterminal.com
    If urban fantasy is more your thing, I also produce a podcast of wonderful modern folktales www.modemprometheus.com

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

  • @NoBoilerplate
    @NoBoilerplate  ปีที่แล้ว +203

    ERRATA
    I now (one month on) recommend irust - MUCH nicer than evcxr on the command line.
    I didn't demo this in the video, but neovide has a RAILGUN cursor mode neovide.dev/assets/Railgun.gif

    • @marcelo55869
      @marcelo55869 ปีที่แล้ว +31

      2:40 LSP, -Language Server Protocol- (Lump space princess)

    • @regexPattern
      @regexPattern ปีที่แล้ว +15

      @@marcelo55869 That's out of context, clearly LSP means Liskov Substitution Principle

    • @LoganDark4357
      @LoganDark4357 ปีที่แล้ว

      @@regexPattern Liking stupid people

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +8

      @@marcelo55869 omg totally

    • @walidjabari4985
      @walidjabari4985 ปีที่แล้ว +3

      - clap features presented in the video are from clap v2, not clap v3
      - isn't time the better crate compared to chrono ?

  • @jowsey
    @jowsey ปีที่แล้ว +327

    Dude, I am in love with your presentation. Using TH-cam's dark theme with simple slides, the little progress bar at the bottom, your pacing, the way you speak - you've already convinced me to try Rust after just a few videos, and you're definitely on the "drop everything and watch" list haha

    • @jowsey
      @jowsey ปีที่แล้ว +15

      It's nice to have such good UK representation in the TH-cam programming scene lol

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +38

      Thank you so much! Yes it's just me and Tom Scott, sadly.

    • @AminD0
      @AminD0 ปีที่แล้ว +12

      The "drop everything and watch" is so true.

  • @johnviljoen271
    @johnviljoen271 ปีที่แล้ว +183

    honestly some of the highest quality technical videos on youtube, shocked the channel is not larger

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +9

      Thank you so much!

    • @user-mh4sc1mt4h
      @user-mh4sc1mt4h ปีที่แล้ว +5

      it's just beginning...

    • @Couleur
      @Couleur ปีที่แล้ว +4

      new fireship

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +4

      @@Couleur You're too kind! I do like Fireship.

    • @neithermanc1
      @neithermanc1 ปีที่แล้ว

      @@Couleur fireship brought me here. this channel and fireship have unbelievable synergy.

  • @afyber
    @afyber 5 หลายเดือนก่อน +7

    I pride myself on the fact that my brain autocorrected
    "From basic ones to swift and even groovy ones"
    into
    "From BASIC ones to Swift and even Groovy ones"

  • @topcivilian
    @topcivilian ปีที่แล้ว +213

    "There's something about the messages that the Rust compiler sends me that warms my heart."
    Me: "rustc --explain why doesn't my code compile?"
    Compiler: "Because you're an idiot."
    Heartwarming indeed 😍

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +15

      I don't know about you, but Rust makes me feel like a genius ;-) th-cam.com/video/0rJ94rbdteE/w-d-xo.html

    • @theroboman727
      @theroboman727 ปีที่แล้ว +9

      @@NoBoilerplate if you want a shorter video link, you should either press the share button and copy that, or right click on the video player and copy link

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +33

      @@theroboman727 I'm not paying by the byte!

    • @Amejonah
      @Amejonah ปีที่แล้ว +6

      @@NoBoilerplate but by the boilerplate!
      badum zzz

    • @aksh1618
      @aksh1618 ปีที่แล้ว +11

      @@Amejonah You got me but then I realized short links are actually the boilerplate so I guess you got me twice

  • @yannledu4783
    @yannledu4783 ปีที่แล้ว +14

    A game changer for me, a dedicated vim user who started coding in Rust in early 2015. I've been using the same config all this time, and I wanted to start a big project so I looked up for info notably on YT, found your channel, and now that video: I installed the full Monty up to neovide, and it BLEW MY MIND. And your videos rock, hand crafted with care, with a beautiful voice and accent. Rust had made astounding progress since 2015, and this stack is worthy of its well deserved new stature.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      Thank you so much for saying so. I'm delighted you were able to level up your vim game!

  • @jahinzee
    @jahinzee ปีที่แล้ว +7

    Honourable (personal) mention for code editors: Kate.
    It's developed by KDE, and is designed mainly for KDE Plasma, but it works on any other Linux wm/de, and also is available for macOS and Windows.
    To me it feels like a lightweight VSCode, complete with LSP support, Git management, and a Vi keybinds mode. In terms of third-party plugins it's a little dry, but vanilla Kate imo is jam-packed with functionality and customisation options, so tweaking it to your liking is possible, assuming you can navigate through the settings page with sanity intact :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      Woah, Kate has lsp now? I gotta check this out! I've been using Kate in kde builds since 2001!

  • @lophyre1380
    @lophyre1380 ปีที่แล้ว +51

    The astro vim + neovide combo looks amazing! Will definitely look into setting that up

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +7

      Extremely tasty. I didn't even share the railgun cursor animations neovide.dev/

    • @mariogutierrez4989
      @mariogutierrez4989 ปีที่แล้ว +2

      I used astro for a while, but ultimately switched to nvchad for the simple reason that user customization is better isolated.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      @@mariogutierrez4989 I'll take a look, thank you!

    • @Sashin9000
      @Sashin9000 ปีที่แล้ว +1

      how do you do this? Have been trying and running into problems...
      I messed up and installed neovide first, and then installed astronvim, I think I'm missing some dependencies

    • @Sashin9000
      @Sashin9000 ปีที่แล้ว +1

      I'm making progress, my current problem is that the syntax highlighting isn't happening for me...

  • @nici9376
    @nici9376 ปีที่แล้ว +42

    You genuinely make fantastic videos on programming. Clear, Concise and Fast. Thank you

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      You're so kind! I am enjoying the process of learning for these videos too!

  • @asimpleguy2730
    @asimpleguy2730 ปีที่แล้ว +3

    I like that there no uselessly long intro or outro, just gold content. I'm sure your channel is going to blow up, so much quality

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      You're very kind, I feel like it's already gone wild! Rip my Inbox!

  • @mikopiko
    @mikopiko ปีที่แล้ว +3

    Gotta love the minimal & clear presentation you did, it's not easy to keep things simple!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you! That's deliberate 😄

  • @dreamers_descent
    @dreamers_descent 7 หลายเดือนก่อน +1

    basic swift or groovy lightsabers? Are you telling me we're making a rusty lightsaber? This is my favorite thing on the internet, I'm in nerd heaven. Thank you.

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

      Thank you! Do check out my other rust videos 😊

  • @sholesy
    @sholesy ปีที่แล้ว +2

    I've been learning Rust for about a month now so I wanna say thanks for making this video. This is a very nice overview and has only got me more excited learning rust :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you! It's so great to hear that, my goal is to get people excited. I'm not experienced enough to do much more than that (yet!) but I'm learning too!

  • @two_horus7337
    @two_horus7337 ปีที่แล้ว +5

    The amount of thought put into the quality of your content and the way you mention all your links and where to find more information makes me certain that this channel will inevitably break 100 million hours of watchtime before 2023 is over. This will be THE video I recommend to colleagues and friends interested in Rust for decades to come. Nice work!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much, it's good to see recognition of my efforts! I'm still learning, and I'm not always right, but I don't mind changing my mind for the next video (as I have done a lot!) And any errors are always in the pinned comment .

  • @NoobaLV
    @NoobaLV ปีที่แล้ว +4

    You are setting a new way to present information. I love this clean, no bullshit, approach to your videos!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much! I practice very carefully ☺️

  • @marcelo55869
    @marcelo55869 ปีที่แล้ว +82

    Let's take our time to do the sequel right this time... I mean, anything can be better than the prequels right? Right?

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +7

      the expanded universe stuff is really fun, and the games are great too! The films are just the start!

    • @nekomakhea9440
      @nekomakhea9440 ปีที่แล้ว +1

      TOO SOON ;_;

    • @LoganDark4357
      @LoganDark4357 ปีที่แล้ว +3

      @@NoBoilerplate The lego games are my favorite.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      @@LoganDark4357 Yeah! I love how unpretentious they are. They're so chill.

  • @creeperkafasi
    @creeperkafasi ปีที่แล้ว +5

    Thanks for the great video as always!
    I like how you get right to the point without the unnecessarily long explanations that make the viewer look like a helpless creature that needs everything explained. Your content is always packed with information while being easy to digest :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much for saying so! I think a lot about how to pace the videos!

  • @shmendusel
    @shmendusel ปีที่แล้ว +4

    After your previous replies to my comments I was so encouraged to learn rust that I promised myself I would do it before your next upload. Here's me, watching your first upload since that promise, with my perfectly working rust program running in a treminal on my other screen. Can't wait for you to blow up (on youtube that is)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      CONGRATULATIONS! Another crate for you to try is `progressive` it lets you wrap any for loop in an iterator that gives you a progress bar for free!

  • @20Godric11
    @20Godric11 ปีที่แล้ว +3

    Started coding with rust a couple of momths ago and enjoied it a lot. Now with this Series a whole new world of features and possibilieties opens up for me. Keep up this amazing work :D Thank you so much :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Such incredible features, right?

  • @TheShadowmanInc
    @TheShadowmanInc ปีที่แล้ว +1

    Your videos are some of the highest quality programming videos on youtube. It reminds me of LEMMINO in terms of video quality, combined with your pleasing voice and the clear and concise way you explain concepts that makes people want to listen!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much - l practice makes perfect!

  • @aarav3890
    @aarav3890 ปีที่แล้ว +2

    Hey dude, been watching your Rust videos and they've been very useful for me as a newbie Rustacean. Your presentation style is exactly what I like: crisp and to-the-point. Please keep this series going!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you! I love writing these, will do! What do you want to learn next?

    • @aarav3890
      @aarav3890 ปีที่แล้ว +2

      @@NoBoilerplate could you do a video on explaining your thought process behind picking up Rust projects? I’d like to know what sort of applications that Rust (as a systems programming language) is particularly suited for: such as CLI tools, web servers, port scanners, etc. One of the best ways to learn a language is to build tools that you can use day-to-day and iteratively improve, but I feel a bit overwhelmed at approaching the subject.
      A bonus would be if you covered security tools (I work in that space), but I think most of your audience might prefer a more general, abstracted approach.
      Thanks again for the time you spend on making these vids :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      @@aarav3890 Nice! Great ideas, I'll add them to my backlog!

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

    Even if I wasn't interested in Rust at all. This pleasant, competent voice is a pleasure to listen to.

  • @MusicGod1206
    @MusicGod1206 ปีที่แล้ว +1

    This is a joy to watch!
    I love the fast pace.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much! I think there's not enough bite sized videos on rust, I aim to fix that!

  • @Elliot.2591
    @Elliot.2591 ปีที่แล้ว +2

    This video is extremely useful, because i now know which crates to spend some time getting familiar with to solve every day tasks without a bunch of googling. Great work!

  • @MrAlFuture
    @MrAlFuture ปีที่แล้ว +1

    Your rust videos are wonderful. They are a pleasure to hear and see. They inspire an interest in rust and coding in general for the simple joy of it. Thank you!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'm so pleased, thank you for saying!

  • @Alexander-xo5ho
    @Alexander-xo5ho ปีที่แล้ว +11

    i really love your videos and your channel actually got me motivated to learn rust myself. do you think you might make a more complete rust overview/tutorial in the near/far future with the same fast paced yet informative editing style. id really love to see that. :D

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +6

      I think I certainly will! Like a zero-to-web-app tutorial? I'm trying to figure out how to make those tutorial-style videos as well as I can, it'll be a departure from the formula, and I have extremely high standards for my work!

  • @Pencil_Frog
    @Pencil_Frog ปีที่แล้ว +2

    "I didn't learn what that means, but it sounds good doesn't it"
    That's so relatable it gave me quite the laugh!
    Only just starting to learn rust, but I love your channel! Very high quality videos.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      I try to be as honest as I can (Such as the ERRATA pinned comment), and that includes admitting this sort of thing! Thank you so much, I'm excited for you getting in to Rust. It's difficult but worth it, keep going!

  • @pavloburyanov5842
    @pavloburyanov5842 26 วันที่ผ่านมา

    "...but a bit of Chrome" makes my day 😂

  • @rotteegher39
    @rotteegher39 ปีที่แล้ว +2

    AstroNvim is just so good with a bit of modifications to the default mappings and with ease adding a few plugins becomes really even better.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      It's SO great isn't it! I have a love/hate relationship with Helix, too, give that a go!

    • @rotteegher39
      @rotteegher39 ปีที่แล้ว

      ​@@NoBoilerplate I already tried out Helix. But it's missing some of the features that I used to in AstroNvim.
      But If I were on completely different computer without my config.
      I would better install Helix for the time being as it has a lot of stuff "Out of the box", for coding and enabled LSP, rather than barebones nvim which you have to configure and install plugins to. Just easier to handle than downloaded Astronvim.
      But I experienced Astro to be better for me in a long run.

  • @maxpursian
    @maxpursian ปีที่แล้ว +1

    Loving your style of videos! Inspiring me to try Rust some time I've got the chance to. Your podcast is also very amazing to listen to and seeing you also use Obsidian is a nice plus, it really is a great tool, using it for Uni, D&D and managing some projects as well, nice getting some inspiration there from you as well.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      It's so great right? I use dice roller and dnd stats plugins for running my games (and dnd beyond, ofc).
      I might do a deep-dive video into obsidian in another video, once I run out of Rust features to gush about!

    • @maxpursian
      @maxpursian ปีที่แล้ว +1

      @@NoBoilerplate I can imagine you being a great DM! Some Obsidian related content in your style would be amazing to watch, you’d have my interest, no doubt :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      @@maxpursian noted!

  • @xorb622
    @xorb622 ปีที่แล้ว +1

    I looked up aesthetic in the dictionary and the dictionary opened up this video in my browser

  • @kristianpaul7
    @kristianpaul7 ปีที่แล้ว +4

    Love your videos. Not too long and very informative!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much! I aim for 10 minutesish, every 2 weeks.

  • @hfc-pub
    @hfc-pub 2 หลายเดือนก่อน

    Mate, you are doing a great job in this channel. Much obliged.

  • @archangel9582
    @archangel9582 ปีที่แล้ว +3

    I am learning rust and I can say this is very useful for me. Thanks

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      I'm so pleased, thank you so much for saying so!

    • @guilherme5094
      @guilherme5094 ปีที่แล้ว +1

      Same!

  • @chris.davidoff
    @chris.davidoff ปีที่แล้ว +1

    I have been using AstroNvim because of you lately and I am so in love!! A couple of things I want different, but I am sure I will learn how to do that someday. That you for this video!

  • @konga8165
    @konga8165 ปีที่แล้ว +1

    Sometimes I just go back and watch your videos because they’re so good. Keep it up!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much! I'm trying to give people the excitement they need to push through Rust's learning curve!

  • @yashashav_dk3766
    @yashashav_dk3766 ปีที่แล้ว +1

    You’re way too good for this world! Loved every bit of this! Keep ‘em coming!

  • @toup0
    @toup0 ปีที่แล้ว +1

    Watching such a powerhouse of a good video without learning a single new thing and having 120+ consecutive 10 hour programming days with a green carpet of git commits, brings me slowly in the direction that I porbabaly don't need to feel like I'm a super noob all of the time, and that my code is probably somehow okay. But it's prorbaly also true, that you are always a noob when doing programming. Thanks for the awesome vid 🙏❤️

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you! Keep learning friend, you'll get there ☺️

  • @0xDEAD_Inside
    @0xDEAD_Inside ปีที่แล้ว +1

    Nice Video! Just the other day I had setup neovide+Lunarvim with all bells and whistles enabled like smooth scrolling etc. This really came in handy!

  • @10e999
    @10e999 ปีที่แล้ว +5

    I know this is a detail to most people, but I would be very interested in learning more about your Obsidian workflow.
    As always, great video!

    • @TL-ox2pq
      @TL-ox2pq ปีที่แล้ว +1

      +1 I recently started using Obsidian again and I always get something out of seeing how others have setup and exploited its features for productivity and comfortability

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Def a video in the future. I could talk about obsidian forever!

    • @10e999
      @10e999 ปีที่แล้ว

      ​@@NoBoilerplate Fantastic.
      While there are a lot of "knowledge management with Obsidian" videos on the internet, I find that most of them are done by TH-camrs that have been using the software for less than 3 months.
      Having an engineer/content creator sharing his actual workflow would be refreshing.

  • @alaouiamine3835
    @alaouiamine3835 ปีที่แล้ว +1

    I'm glad you mentioned AstroNvim.
    It's so lightweight and feature full

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      SO great - and configured in lua!

  • @GreatWalker
    @GreatWalker ปีที่แล้ว +4

    9:20 "Clap is the most popular command line args-parsing library. It seems to get more and more featureful each time I look at it."
    It's true! I used to use StructOpt, but apparently Clap v3 has implemented all features of StructOpt.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      oh fun, I never tried StructOpt! That new macro I highlighted I found out literally this week!

    • @ErichDonGubler
      @ErichDonGubler ปีที่แล้ว +1

      Can confirm, the migration from `structopt` to `clap` is relatively easy, and should be feature-equal.

  • @michaelconrad2690
    @michaelconrad2690 ปีที่แล้ว +1

    I'm excited to check out obsidian, thanks for the rec

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      literally my second brain. I levelled up my life when I discovered this kind of tool (though I used org-mode first, which is a similar idea)

  • @oluwatomisinbabatunde8426
    @oluwatomisinbabatunde8426 ปีที่แล้ว +1

    this is my favorite rust video ... thank you!

  • @casenc
    @casenc ปีที่แล้ว +1

    I was just trying to get nvim to work well as a rust IDE, this is insane timing
    Thanks!

  • @hongotopiadada7574
    @hongotopiadada7574 ปีที่แล้ว +1

    First of all thanks for the video, I love your format.
    Talking about it's content I personally had problems with chrono hanging behind and being poorly maintained (especially working on bleeding edge stuff like embedded rust for esp) so I changed back to time, time::PrimitiveDateTime is almost were chrono want's to be and more than I would ever need while staying up to date with it's dependencies

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Oh interesting, thank you for the tip. I'll look into it.

  • @ShrirajHegde
    @ShrirajHegde ปีที่แล้ว +3

    Damn, that's some real high quality content.
    This channel is going to grow

  • @nicosummer9020
    @nicosummer9020 ปีที่แล้ว +9

    Your content is a gift 🎁 Outstanding video. On the behalf of everyone, thank you for putting in the time and effort, we appreciate it ✨

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      That's so kind of you to say, it's my extreme pleasure!

  • @thestemgamer3346
    @thestemgamer3346 ปีที่แล้ว +8

    I've heard of many of these libraries and only a few of these tools. This is a great guide thank you for making this! Really opens up my Rust development.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much for saying so!

    • @yuryigonin5191
      @yuryigonin5191 ปีที่แล้ว +2

      Hello, theSTEM, thank you for your content!

  • @RedStone576
    @RedStone576 ปีที่แล้ว +1

    this is absolutely amazing

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I know right! I just had to make a video on it. Have you seen others in my Rust series?

  • @jupitersky
    @jupitersky ปีที่แล้ว +2

    Damn that intro is good. Nice writing!

  • @caylebray3894
    @caylebray3894 ปีที่แล้ว +2

    Your videos are great! Would love to get a video on proper debugging in Rust.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Yeah, me too. Vscode has debugging right? I also understand gdb can debug rust. More research for me!

  • @embeddedbastler6406
    @embeddedbastler6406 ปีที่แล้ว +2

    Personally, I like the derive method of clap the most. It allows to directly define the struct where the command line arguments are filled into by clap.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Yeah,I think I made a mistake here, the derive method is newer than the macro right?

    • @embeddedbastler6406
      @embeddedbastler6406 ปีที่แล้ว

      @@NoBoilerplate I think so, yes.

  • @awwastor
    @awwastor ปีที่แล้ว +1

    So something that’s nowadays probably much easier to find but when I needed it it was quite difficult is: WGPU. It’s a crate that abstracts over multiple graphics backends in a safe manner (in the future, one of the targets it will support will be WebGPU, which is a work in progress standard for using the GPU in the browser), it can build for Angle, OpenGL, DX12, Metal & Vulkan and has, as long as you use it in an intelligent manner, quite a low performance impact. If you need an even cheaper and unsafe graphics library, its hardware abstraction layer wgpu-hal, might be for you.

  • @ShreksSpliff
    @ShreksSpliff ปีที่แล้ว +1

    I needed this, thanks!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      My pleasure! It's on the beginning, of course. I'd love to know any fun plugins you find

  • @1234minecraft5678
    @1234minecraft5678 10 หลายเดือนก่อน +1

    This is the channel i needed.

  • @imagreatguy1250
    @imagreatguy1250 ปีที่แล้ว +1

    You do this really well my rusty bro 👍

  • @sxmourai6897
    @sxmourai6897 9 หลายเดือนก่อน +2

    Your videos are amazing, but it would be great if you added chapters

  • @laurence3729
    @laurence3729 ปีที่แล้ว +1

    Really enjoying and learning so much from your content. Sincerely, thank you! Gonna copy your “lightsaber” ahead of the London Rust Meetup tomorrow in order to look more pro than I really am 😁

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      The what?! *Sounds of googling*

    • @laurence3729
      @laurence3729 ปีที่แล้ว +1

      @@NoBoilerplate Have a look on Meetup for the Rust London User Group - the meetup is at TrueLayer's offices on Hardwick street at 6pm. They hold them roughly monthly and as far as I can tell this is the first in a series called Code Dojo aimed at relative beginners.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      @@laurence3729 Nice! I'll swing by when the beginners series is over, I'd rather hear talks and Q&As and such!

  • @Otakutaru
    @Otakutaru ปีที่แล้ว +4

    Doing this is just mandatory. Build your frikking tool already!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Most editors are great for some people - the trick is to try them out and find one that works great for you, then start tinkering!

  • @checkmate1284
    @checkmate1284 ปีที่แล้ว +1

    I really like the pacing of the video. Not too fast or too slow. Simply just right. Gotta learn some rust. Hopefully, it’s less painful than C and C++.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      It's absolutely less painful than c++! Steeper learning curve than JavaScript, but you get a language that you are confident of what you have written - worth it! Watch my other rust videos for inspiration, good luck!

  • @andredasilva6807
    @andredasilva6807 ปีที่แล้ว +1

    love all the tools you mentioned. i am currently using a nvim setup with a lua config, containing all my lsp. but neovide and astrovim look amazing

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      You can drop neovide straight in to that! No config changes needed, it's a transparent frontend!

  • @hydejel3647
    @hydejel3647 ปีที่แล้ว +1

    wow this video was super useful, thank you!

  • @ljbrown238
    @ljbrown238 10 หลายเดือนก่อน +1

    You are a proper BOSS!!!! 😊❤
    Love your technical excellence and your accent! 😂

  • @WarloardInPcGamer
    @WarloardInPcGamer ปีที่แล้ว

    Thanks for mentioning neovide. its my nvim gui editor of choice. I hope more rust ppl use neovide and start contributing to make it even better :).

  • @amateurprogrammer25
    @amateurprogrammer25 ปีที่แล้ว +1

    laying the puns on THICK today
    seriously though this is some of the best educational content on the site; going to have to watch this multiple times to make sure I understand it all. I think this might be the fastest I've ever subscribed to a channel

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much! I'd love to know what you think of my other Rust videos!

    • @amateurprogrammer25
      @amateurprogrammer25 ปีที่แล้ว +1

      @@NoBoilerplate I always watch at least two videos from a channel before deciding to subscribe just in case the thing I saw that I really liked was a one-off that they're probably never doing again. this was the second one. was already a big fan of both rust and neovim before discovering your channel (friends got me into them, but i'm still not more than a month in) but the more i watch the less reason i see to use any other language
      i've always been a proponent of the argument that arguing about the best programming language is like arguing about the best tool (python is a neat little swiss army knife with a laser pointer on it that's great for doing data science but for anything computationally intensive, its puny little 5cm sawblade won't do the job nearly as well as the bandsaw that is C++) and to a certain extent i still think that's true (especially if there are library bindings for one language that you need to use if you want to release this century) but you can literally write anything from embedded firmware to GUI apps in Rust with approximately the same level of ease and performance and I think that's incredibly cool
      rust has a lot in common with java language design wise and i find that interesting because coming from a python background i really _despise_ java but i like rust quite a lot. in thinking about why this is, i realized that Rust has all of the features of Java (like interfaces, type safety w/generics, stream-like syntax, privacy provisions, etc) but in Rust they don't suck balls (you can implement traits for types you didn't define (in fact you can even implement them generically) and multiple traits can have the same name and they won't conflict, type erasure is not a thing meaning the generic system is actually useful, Java's streams are literally on par with Python performance wise but Rust's iterator map-reduce chains compile down to native loops, Java's privacy protections can be straight up bypassed with reflections but since Rust has access to all of the source code when the binary is compiled, including libraries, it can guarantee that no one is doing anything stupid; "the compiler guarantees safety" means The Compiler Guarantees Safety and not "oh, unless the runtime does something weird") and "what if java, but it didn't suck" is something I very much like the idea of
      it's like someone read my mind to get all of my subconscious desires of everything i want in a programming language and then somehow made one that had all of them, and then stole Python's type annotation syntax for some reason
      i do kind of wish there was struct inheritance and it sounds like that is a planned feature but rust is so good in so many other ways that i'm almost willing to put up with having to write a wrapper impl

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      @@amateurprogrammer25 How lovely! I'm also from a python background, been doing it for 15 years.
      You might like Go, too, as it has many of the featueres you like, so if you ever get offered to write it for money, I'd say do it, but obviously I think Rust is BETTER:
      No GC, bare-metal code, compile-time macros, and a community that cares about correctness!

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

    I find your videos to be inspiring. Thank you.

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

      You are so welcome!

  • @mattinpjs
    @mattinpjs ปีที่แล้ว +8

    Another banger, Tris! Such a great video for someone just getting started in rust

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much! I'll get into more depth as I learn, myself!

  • @franksonjohnson
    @franksonjohnson ปีที่แล้ว +2

    Oh wow you use Obsidian, puh-lease talk more about how you use it. It's my favorite tool and I can imagine your explanation of considerations to approach and mindset while using it for different parts of life will be far more thoughtful than the videos made by the "tools for thought" crowd, who I find often are more excited about the tool than the things you can do with it. Literally just that screenshot you walked through gave me more insight on how to script videos with it than I've ever seen.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      I'm going to start doing a video a week, instead of my current schedule of a video a fortnight, and the two new videos per month will be non-rust. Obsidian certainly will be one of the new topics I'll cover. Thanks!

  • @gangov
    @gangov ปีที่แล้ว +1

    thanks for this!

  • @user-rr8hc8ls5n
    @user-rr8hc8ls5n ปีที่แล้ว +2

    1:52 "If you go with VS Code, you'll have the same functionality, but a bit more Chrome" I might misinterpret that but that's so funny nevertheless, lmao

  • @Terminator85BS
    @Terminator85BS ปีที่แล้ว +1

    Hey, just wanted to pop in here and tell you, you're the reason i picked up Rust and so far i am absolutely loving it. Thank you for the videos you make! I really appreciate it. now back to coding :)

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Thank you so much for telling me Lucas! I'm so pleased, literally that's my goal with this series, is to get people into this amazing language! Have fun!

    • @Terminator85BS
      @Terminator85BS ปีที่แล้ว +1

      @@NoBoilerplate Also love the coverage of Obsidian - by far my favorite piece of software i'm using since discovering it. surely you already know this, but for people who don't: great performance, all files hosted locally and as text files, so not locked in to the software, and since it's just a local executable built from open source, there's no danger of a sellout ruining your tool. It's a great place to put effort into while being confident it's not gonna go to waste. This all on top of the great features it provides, which others may have too but with downsides.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      @@Terminator85BS Yeah! UGH I love obsidian so much. I hope you weren't off-put by the advertisement format? I'm hoping to get some tech advertisers interested in my channel so I can do them more often (currently the day job is holding me back!). What a world that would be, I can't even believe it's an option. How was the format for you?

    • @Terminator85BS
      @Terminator85BS ปีที่แล้ว +1

      @@NoBoilerplate i didn't see this as an advertisement at all, since it was just a genuine showcase of what it can do and why you like it. if you could get sponsorships in this format that would be incredible, but usually with sponsorships/advertisements it's all about pretending to like something which makes it very different.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      @@Terminator85BS well that is so good to hear, yes I'd like to advertise cool companies!

  • @GeorgeFosberry
    @GeorgeFosberry ปีที่แล้ว +1

    Clap now also has derive macros. This allows you to define a type to store program's CLI arguments in your code and just slap #[derive(clap::Parser)] on it. Arguably that is the best way to get arguments from command line and how it should have been done in the first place.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      I don't know why I missed that, I must have been looking at old documentation!

  • @eboatwright_
    @eboatwright_ ปีที่แล้ว +1

    I love it! Rust is my favorite programming language

  • @IkeVoodoo
    @IkeVoodoo ปีที่แล้ว +1

    I don't really like Rust, however I still listen to your videos, they are really relaxing :D

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      Have I got great news for you th-cam.com/video/p3bDE9kszMc/w-d-xo.html

  • @iridelombardi
    @iridelombardi ปีที่แล้ว +1

    Now that I listen to your podcast its weird getting Rust talks from Seth

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      println!("hello world");

    • @TL-ox2pq
      @TL-ox2pq ปีที่แล้ว

      Now the natural question to ask is: will Seth be reading out my warnings and errors from the rustc compiler next?

  • @ZoltanTemesvari_temy
    @ZoltanTemesvari_temy ปีที่แล้ว +1

    Great tutorials, keep up the good work!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Thank you so much! I've put all my Rust videos into a playlist for ease of viewing, if that is helpful to you.
      th-cam.com/video/Q3AhzHq8ogs/w-d-xo.html
      And please ask any questions on the videos, I read every comment!

  • @uwuwgrhdhwj
    @uwuwgrhdhwj ปีที่แล้ว +1

    You can also use Mold as your linker and speed build times exponentially

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Yeah, that's great! Also, each new version of the compiler and linker gets faster. I'm hopeful for the future!

  • @dothgaerwenoakblossom15
    @dothgaerwenoakblossom15 ปีที่แล้ว +1

    Thanks for recommending Obsidian!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      oh don't EVEN - I LIVE inside obsidian, it's so wonderful!

  • @eboodnero
    @eboodnero ปีที่แล้ว +1

    Can't get enough rust content!

  • @awwastor
    @awwastor ปีที่แล้ว +2

    2:45 JetBrain’s/Intelij’s Rust support is pretty good too, in my experience it’s less accurate, sometimes giving false positives for errors and quite often giving suggestions for the wrong thing and importing it but it’s still pretty good and it’s slightly more performant than rust-analyser, or maybe not, it’s possible it’s just the way it integrates with the IDE allows it to run in the background better.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      compared to vscode?
      I've not noticed any operations in vscode being more than an instant, and certainly my own nvim workflow is extremely instant!

    • @awwastor
      @awwastor ปีที่แล้ว +1

      @@NoBoilerplate compared to nvim specifically, but I have a pretty slow computer so it’s probably that in a big part. It’s definitely fast enough for me, especially with newer versions, but I used to have an issue in a project with bevy (and a few other large dependencies) where rust_analyser would often freeze up and stop responding for a while, also it would corrupt its files or wherever it stores its index and would need to rebuild it often. I haven’t seen that since I switched back to it though so maybe it’s fixed.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      @@awwastor Yikes! Rust analyzer is now the recommended LSP server, and it even comes with rustup in the nightlies (and soon, in stable). I'd say it's safe to return 🙂

  • @9paradox
    @9paradox ปีที่แล้ว +3

    i really like your content and appreciate the effort went into making these clean video. I have only one request, can you please scale up the images and font used in the video, its bit difficult to view on mobile devices.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +3

      I will work to fix this. I had a real problem in this video. the framework I'm using, advanced slides on obsidian, which uses reveal.js, and long examples.
      Short examples I can zoom in, but long ones had to be smaller font to stay inside whatever box reveal uses.
      You won't be the last to tell me about this problem, I expect. I will work on it!

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

    Thank you for sharing your brain. It is quite fun.

  • @rustdev1
    @rustdev1 ปีที่แล้ว

    Already had AstoNvim + Neovide, feels great.
    The other tools looks legit, definitely will try them.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Nice! Gitui is certainly much faster than lazygit in my experimentation

  • @Kazyek
    @Kazyek ปีที่แล้ว +1

    10:24 egui is a immediate-mode GUI that's similar-ish to Imgui.
    More traditional GUI frameworks in Rust include Iced and Druid.
    Druid is more performant at the moment, but Iced is being used by System76 for their Desktop Environment rewrite, so I expect it to get some traction and get better quickly

  • @serhiitsynailo
    @serhiitsynailo ปีที่แล้ว +2

    thx for video!

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      My pleasure, thank you for saying so! :-)

  • @AceofSpades5757
    @AceofSpades5757 ปีที่แล้ว +1

    Egui and Yew are both fantastic libraries

  • @codetothemoon
    @codetothemoon ปีที่แล้ว +1

    "But you have to write your app in JavaScript, and that doesn't spark joy for me" - Amazing, got a good laugh there 🙃

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I've started using this expression instead of other subjective complaints!

  • @HyperFocusMarshmallow
    @HyperFocusMarshmallow ปีที่แล้ว +1

    Thank you, thank you, thank you!

  • @danielrhouck
    @danielrhouck ปีที่แล้ว +1

    Even before seeing this video, I knew the Rust community was about 100% puns by volume. Great job with keeping up the trend!
    Also useful information, of course.

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว +1

    The Force is strong with this one!

  • @oglothenerd
    @oglothenerd 7 หลายเดือนก่อน +2

    I use Helix, which is a Vim-like editor written in Rust.

    • @NoBoilerplate
      @NoBoilerplate  7 หลายเดือนก่อน +1

      I'm familiar with it, helix is nearly perfect! The creators of it and I have a disagreement on providing other keybindings than their own, which is a real shame.

    • @oglothenerd
      @oglothenerd 7 หลายเดือนก่อน +2

      @@NoBoilerplate Helix keybinds are way better! I agree that the fact that they are slightly different can turn a lot of potential users away from it, but once you learn the Helix binds, it makes way more sense!

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

      ​@@oglothenerd I agree, they are better.
      However, how many apps have helix bindings? 1. (well, maybe 2-3 if you include that family of editors that helix is in)
      How many apps have vim bindings? Every single app I use (including my browser).
      The Zen of Python says, "Special cases aren’t special enough to break the rules", and this applies ESPECIALLY for my muscle memory! 😀

  • @arcstur
    @arcstur 7 หลายเดือนก่อน +1

    For an editor, I would also recommend Helix. And its written in Rust :)

    • @NoBoilerplate
      @NoBoilerplate  7 หลายเดือนก่อน +1

      helix doesn't do it for me. I need my hotkeys to be unified across all my apps, and the maintainers of Helix are startlingly hostile to adding optional vim bindings. I understand there's a config file floating around that you can get some, but it's not quite right.
      To be clear, I agree that the way helix does it (kinda reverse vim) is better. But practicality beats purity every day of the week for me.

    • @arcstur
      @arcstur 7 หลายเดือนก่อน +1

      @@NoBoilerplate Yeah, that makes a lot of sense!

  • @TheOPtmal
    @TheOPtmal ปีที่แล้ว +1

    You should've mentioned GTK-rs. It's not pure Rust, but I'd argue it's the nicest and most fleshed out toolkit you'll find. Bonus points for glib since it allows you to write libraries in Rust and have them be usable in tons of other languages. It's really nice, and it has a whole ecosystem around it.

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      Oh how nice! Thank you for showing me that. I'm delighted there's gtk bindings, makes sense!

    • @TheOPtmal
      @TheOPtmal ปีที่แล้ว +1

      @@NoBoilerplate It's not just GTK - since it uses GObject Introspection, you get access to the entire GNOME and GTK ecosystem. Libshumate, libadwaita, or the lower level libraries like GIO or GDK.

  • @hv1461
    @hv1461 ปีที่แล้ว +1

    Thank you for such great information, and so well presented. I've installed everything. Now, are there some videos somewhere to start walking through writing Rust code within this environment, using all these amazing tools ?

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว

      I'd start with my own tutorial th-cam.com/video/br3GIIQeefY/w-d-xo.html
      Then dive straight in to the book! doc.rust-lang.org/stable/book/
      That's how I learned, it's SO well written!
      Do join my discord and ask questions in #newbie-advice - everyone is super nice and helpful. links on noboilerplate.org GOOD LUCK!

  • @Vagelis_Prokopiou
    @Vagelis_Prokopiou ปีที่แล้ว +1

    Thanks. Another great video.
    Suggestion: Enlarge your slides/text/etc as much as possible in the future. Helps a lot with mobiles.

  • @johannesrodt290
    @johannesrodt290 ปีที่แล้ว +2

    I‘ve build a similar lightsaber, but I use doom emacs as my case

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +1

      That was me just a few months ago - how GREAT is doom!?

  • @eineatombombe
    @eineatombombe ปีที่แล้ว +1

    10:17 i know this is an old video but for anyone who doesn't know you can use Yew with tauri now!

  • @lordsixth5944
    @lordsixth5944 ปีที่แล้ว +1

    A rust lifetimes video would be very helpful

    • @NoBoilerplate
      @NoBoilerplate  ปีที่แล้ว +2

      I know right?! Let me know when you find a good one, I sure need one 😄
      I will write one when I understand lifetimes. I can write them, but I can't yet teach them.

  • @lilc3
    @lilc3 ปีที่แล้ว +1

    I appreciate you