Build your Rust lightsaber

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

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

  • @NoBoilerplate
    @NoBoilerplate  2 года назад +206

    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 2 года назад +32

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

    • @regexPattern
      @regexPattern 2 года назад +16

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

    • @LoganDark4357
      @LoganDark4357 2 года назад

      @@regexPattern Liking stupid people

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +8

      @@marcelo55869 omg totally

    • @walidjabari4985
      @walidjabari4985 2 года назад +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 2 года назад +349

    Dude, I am in love with your presentation. Using RUclips'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 2 года назад +19

      It's nice to have such good UK representation in the RUclips programming scene lol

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +44

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

    • @AminD0
      @AminD0 2 года назад +14

      The "drop everything and watch" is so true.

  • @johnviljoen271
    @johnviljoen271 2 года назад +196

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

  • @asimpleguy2730
    @asimpleguy2730 2 года назад +8

    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  2 года назад

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

  • @jahinzee
    @jahinzee Год назад +8

    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!

  • @topcivilian
    @topcivilian 2 года назад +227

    "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  2 года назад +18

      I don't know about you, but Rust makes me feel like a genius ;-) ruclips.net/video/0rJ94rbdteE/видео.html

    • @theroboman727
      @theroboman727 2 года назад +11

      @@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  2 года назад +39

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

    • @Amejonah
      @Amejonah 2 года назад +6

      @@NoBoilerplate but by the boilerplate!
      badum zzz

    • @aksh1618
      @aksh1618 2 года назад +11

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

  • @yannledu4783
    @yannledu4783 2 года назад +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 года назад +2

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

  • @nici9376
    @nici9376 2 года назад +43

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +2

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

  • @mikopiko
    @mikopiko 2 года назад +5

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

  • @two_horus7337
    @two_horus7337 2 года назад +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  2 года назад

      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 .

  • @creeperkafasi
    @creeperkafasi 2 года назад +6

    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  2 года назад +1

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

  • @20Godric11
    @20Godric11 2 года назад +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 :)

  • @lophyre1380
    @lophyre1380 2 года назад +51

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +7

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

    • @mariogutierrez4989
      @mariogutierrez4989 2 года назад +2

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

    • @Sashin9000
      @Sashin9000 2 года назад +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 2 года назад +1

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

  • @shmendusel
    @shmendusel 2 года назад +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  2 года назад +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!

  • @Elliot.2591
    @Elliot.2591 2 года назад +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!

  • @rtdietrich
    @rtdietrich 9 месяцев назад

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

  • @NoobaLV
    @NoobaLV 2 года назад +4

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      Thank you so much! I practice very carefully ☺️

  • @thestemgamer3346
    @thestemgamer3346 2 года назад +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  2 года назад +1

      Thank you so much for saying so!

    • @yuryigonin5191
      @yuryigonin5191 2 года назад +2

      Hello, theSTEM, thank you for your content!

  • @mrcoolkbye
    @mrcoolkbye 2 года назад +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  2 года назад +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!

  • @konga8165
    @konga8165 2 года назад +2

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

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

  • @RMy4v5aPte
    @RMy4v5aPte 2 года назад +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  2 года назад +1

      Thank you so much - l practice makes perfect!

  • @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.

  • @aarav3890
    @aarav3890 2 года назад +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  2 года назад

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

    • @aarav3890
      @aarav3890 2 года назад +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  2 года назад

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

  • @Pencil_Frog
    @Pencil_Frog 2 года назад +4

    "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  2 года назад +2

      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!

  • @toup0
    @toup0 2 года назад +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  2 года назад

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

  • @alaouiamine3835
    @alaouiamine3835 2 года назад +1

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

  • @IkeVoodoo
    @IkeVoodoo 2 года назад +1

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      Have I got great news for you ruclips.net/video/p3bDE9kszMc/видео.html

  • @checkmate1284
    @checkmate1284 2 года назад +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  2 года назад

      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!

  • @10e999
    @10e999 2 года назад +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 2 года назад +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  2 года назад +1

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

    • @10e999
      @10e999 2 года назад

      ​@@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 RUclipsrs that have been using the software for less than 3 months.
      Having an engineer/content creator sharing his actual workflow would be refreshing.

  • @1234minecraft5678
    @1234minecraft5678 Год назад +1

    This is the channel i needed.

  • @Alexander-xo5ho
    @Alexander-xo5ho 2 года назад +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  2 года назад +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!

  • @MrAlFuture
    @MrAlFuture 2 года назад +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  2 года назад

      I'm so pleased, thank you for saying!

  • @iilugs
    @iilugs 2 года назад +1

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

  • @franksonjohnson
    @franksonjohnson 2 года назад +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 года назад +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!

  • @kristianpaul7
    @kristianpaul7 2 года назад +4

    Love your videos. Not too long and very informative!

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

  • @archangel9582
    @archangel9582 2 года назад +3

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

  • @ShrirajHegde
    @ShrirajHegde 2 года назад +3

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

  • @GreatWalker
    @GreatWalker 2 года назад +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  2 года назад +1

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

    • @ErichDonGubler
      @ErichDonGubler 2 года назад +1

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

  • @marcelo55869
    @marcelo55869 2 года назад +83

    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  2 года назад +7

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

    • @nekomakhea9440
      @nekomakhea9440 2 года назад +1

      TOO SOON ;_;

    • @LoganDark4357
      @LoganDark4357 2 года назад +3

      @@NoBoilerplate The lego games are my favorite.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +2

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

  • @WarloardInPcGamer
    @WarloardInPcGamer 2 года назад

    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 :).

  • @yashashav_dk3766
    @yashashav_dk3766 2 года назад +1

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

  • @amateurprogrammer25
    @amateurprogrammer25 2 года назад +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  2 года назад

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

    • @amateurprogrammer25
      @amateurprogrammer25 2 года назад +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  2 года назад

      @@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!

  • @nicosummer9020
    @nicosummer9020 2 года назад +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  2 года назад +1

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

  • @GeorgeFosberry
    @GeorgeFosberry 2 года назад +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  2 года назад +1

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

  • @eboatwright_
    @eboatwright_ 2 года назад +1

    I love it! Rust is my favorite programming language

  • @embeddedbastler6406
    @embeddedbastler6406 2 года назад +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  2 года назад

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

    • @embeddedbastler6406
      @embeddedbastler6406 2 года назад

      @@NoBoilerplate I think so, yes.

  • @oluwatomisinbabatunde8426
    @oluwatomisinbabatunde8426 2 года назад +1

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

  • @awwastor
    @awwastor 2 года назад +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.

  • @hfc-pub
    @hfc-pub 9 месяцев назад

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

  • @casenc
    @casenc 2 года назад +1

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

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

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

  • @chris.davidoff
    @chris.davidoff 2 года назад +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!

  • @michaelconrad2690
    @michaelconrad2690 2 года назад +1

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

      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)

  • @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!

  • @danielrhouck
    @danielrhouck 2 года назад +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.

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

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

  • @hongotopiadada7574
    @hongotopiadada7574 2 года назад +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  2 года назад

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

  • @mattinpjs
    @mattinpjs 2 года назад +8

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

  • @caylebray3894
    @caylebray3894 2 года назад +2

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

  • @jupitersky
    @jupitersky 2 года назад +2

    Damn that intro is good. Nice writing!

  • @AceofSpades5757
    @AceofSpades5757 2 года назад +1

    Egui and Yew are both fantastic libraries

  • @imagreatguy1250
    @imagreatguy1250 2 года назад +1

    You do this really well my rusty bro 👍

  • @irlshrek
    @irlshrek 2 года назад +1

    Can't get enough rust content!

  • @Kazyek
    @Kazyek 2 года назад +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

  • @awwastor
    @awwastor 2 года назад +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  2 года назад

      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 2 года назад +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  2 года назад

      @@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 🙂

  • @mpcref
    @mpcref 2 года назад +2

    Could you do a video comparing Neovim/AstroNvim to Helix?

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

      Too niche. But I would LOVE to talk about it over on the Discord (and so would the community!) Ping me!

  • @Terminator85BS
    @Terminator85BS 2 года назад +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  2 года назад +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 2 года назад +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  2 года назад

      @@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 2 года назад +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  2 года назад +1

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

  • @maxpursian
    @maxpursian 2 года назад +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  2 года назад +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 2 года назад +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  2 года назад +1

      @@maxpursian noted!

  • @RedStone576
    @RedStone576 2 года назад +1

    this is absolutely amazing

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

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

  • @uwuwgrhdhwj
    @uwuwgrhdhwj 2 года назад +1

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

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

  • @iridelombardi
    @iridelombardi 2 года назад +1

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      println!("hello world");

    • @TL-ox2pq
      @TL-ox2pq 2 года назад

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

  • @hydejel3647
    @hydejel3647 2 года назад +1

    wow this video was super useful, thank you!

  • @laurence3729
    @laurence3729 2 года назад +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  2 года назад +1

      The what?! *Sounds of googling*

    • @laurence3729
      @laurence3729 2 года назад +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  2 года назад +1

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

  • @dreamers_descent
    @dreamers_descent Год назад +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  Год назад

      Thank you! Do check out my other rust videos 😊

  • @Otakutaru
    @Otakutaru 2 года назад +4

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +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!

  • @MrMrCraftmine
    @MrMrCraftmine 2 года назад +1

    Could you make a full tutorial how to get this all to work? I'm having a bit of trouble setting it up exactly like you are showing it in the video.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

      That advice would not be wide enough an audience to do a full video on just yet. Sorry about that - but the forums for each part (neovim, astronvim, and neovide) are each full of lovely people who I have personally gotten help from in the past! Try github issues if they don't have a forum.
      ALSO I'd be delighted to help you in-person. I'm soft-launching my discord, which I've added No Boilerplate channels to, come in and say hi in #Programming! discord.gg/mCY2bBmDKZ

  • @guilherme5094
    @guilherme5094 2 года назад +1

    The Force is strong with this one!

  • @dothgaerwenoakblossom15
    @dothgaerwenoakblossom15 2 года назад +1

    Thanks for recommending Obsidian!

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

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

  • @ShreksSpliff
    @ShreksSpliff 2 года назад +1

    I needed this, thanks!

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

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

  • @TheOPtmal
    @TheOPtmal 2 года назад +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  2 года назад

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

    • @TheOPtmal
      @TheOPtmal 2 года назад +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.

  • @ЭнрикеЧурин
    @ЭнрикеЧурин 2 года назад +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

  • @9paradox
    @9paradox 2 года назад +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  2 года назад +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!

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

    Haven't started writing any Rust yet, but it's self-evident that your video is bringing us things I'll be so glad not to have to look for/build myself!
    Thank you so much!

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

      you're gonna LOVE it when you try! Here's the video to watch to start your education: ruclips.net/video/2hXNd6x9sZs/видео.html

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

      @@NoBoilerplate oh I watched that last night and started work today :) Thanks again! I feel the beginnings of a long and beautiful partnership with Rust 💜

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

      @@thephoenixsystem6765 I'm excited for you! Ask any questions in #newbie-advice in my discord, if you like! 3k lovely people there!

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

    Neovide looks nice, gonna try it out. I can also recommend Helix. It's a modal editor too, but more kakoune-like; also is trivial to set up & has better discoverability.
    And of course, the most important tool: cargo-mommy

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

      LOVE helix. I might well switch to it so my whole userland is rust (I use nushell too)

  • @xorb622
    @xorb622 2 года назад +1

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

  • @andredasilva6807
    @andredasilva6807 2 года назад +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  2 года назад +1

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

  • @julianthejanitor5531
    @julianthejanitor5531 2 года назад +1

    Can you please add a part two to your excellent Rust In 10 Minutes video covering the rest of the source article?

  • @SowbugMori
    @SowbugMori 2 года назад +1

    Im curious how it handles computation. It’s not a language used in the field I want to get into - that being atmospheric science - but I think learning languages is a fun hobby and it gives me a new fun challenge of taking concepts from one language,and writing them in another.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      Rusts maths system is very simple, in that, like C, it's is very close to the CPUs maths system: binary arithmetic with all of the float rounding and wrapping issues you would expect. However, it's incredibly fast. Indeed each operation compiles down to very low level code. I've not looked into it, but I believe it might be even just a single cpu operation.
      Built on top of that is the standard library's opt-in "checked" maths functions - safe operations that return results instead of wrapping or truncating. On top of THAT are crates for numerical computation, just search on crates.io.
      If your language starts with safe operations, you often can't get access to the fast maths. If you have low level maths, you can build safe abstractions. See my latest video for a toy example of how this works!

  • @JThompson_VI
    @JThompson_VI 2 года назад +2

    If you are interested in neovim, try lunar vim. I found the lunar vim api way easier to use when extending the config. Tried astrovim, but I prefer lunar vim.

  • @adamhenriksson6007
    @adamhenriksson6007 2 года назад +1

    Since you seem very interested in high-performance systems and functional languages, I would love to hear you talk about elixir+rust based systems. It's definetly not that easy to find practical info on when and how these types of systems are used in practice.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

      Not experienced in elixir, but would you like to know in what projects Rust is good to use?

    • @adamhenriksson6007
      @adamhenriksson6007 2 года назад +1

      ​@@NoBoilerplate That would be neat. My reasoning extends to "Is C++ a viable option, consider Rust". If there is more to it then absolutely :)
      The thing with Rust is that, since it's growing so fast, it is really hard to evaluate the maturity of any part of the ecosystem, like Web, GUI (AreweGUIyet seems really outdated at this point), SciComp, AI/ML etc. The Rust game dev space seems really awesome though.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      @@adamhenriksson6007 really great topic idea, will do!

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

    I find your videos to be inspiring. Thank you.

  • @johannesrodt290
    @johannesrodt290 2 года назад +2

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

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

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

  • @idkidk9204
    @idkidk9204 2 года назад +1

    I just started with rust after learning java and c# mostly java while recently c# but ohhh boiii rust just hits differently in a positive way :) it's certainly a harder language to get in due to borrow checker but when you have a good IDE with nice ppl on discord ready to help it just makes it less of a pain and more of an adventure ;)

    • @NoBoilerplate
      @NoBoilerplate  2 года назад

      Rust will be harder to learn the basics than those other two languages, keep watching my videos to get inspired, and once you're past the learning curve, you'll be in a much better position to write reliable code!

  • @Vagelis_Prokopiou
    @Vagelis_Prokopiou 2 года назад +1

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

  • @johnbruhling8018
    @johnbruhling8018 2 года назад +1

    Those are really cool but remember that what's in there is only what you take with you (points to forehead) and your weapons, you will not need them.

  • @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.
      ruclips.net/video/Q3AhzHq8ogs/видео.html
      And please ask any questions on the videos, I read every comment!

  • @phenanrithe
    @phenanrithe 2 года назад +2

    That's a lot of tools, some of which based on electron (which I'm not a fan of), tho VSCode has a good reputation now, and there's the open source version, *VSCodium* . Personally I'm using IntelliJ for a consistent IDE experience and a single tool, but you must use the non-free edition if you want the debug feature, a non-issue when you already own the UE or CLion for other purposes. It's good and actively developed, but not yet at the same level as the native languages of those IDEs. Thanks for all the references, but note that some of those crates are still very alpha or beta (0.0x version), so tread carefully. To each their own, anyway. :)

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      Rust crates, even early on, are such high quality, I don't mind recommanding them already!

  • @EndermanAPM
    @EndermanAPM 2 года назад +3

    Amazing content as always! I would love a ted talk where you talk for 2 hours straight.
    p.s. Just as a recommendation, next time make the pictures a bit bigger, the details are kinda hard to see even at full screen.

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +2

      Yep, gotta fix the font size and image sizes. sorry!

  • @brandongunnarson7483
    @brandongunnarson7483 2 года назад +1

    I'm trying to code on a raspberry pi. I ran into errors where sudo apt install didn't give me a recent enough version so I had to build neovim myself from source to get astronvim to install. Present problem is I can't seem to install gcc-multilib and g++-multilib or skia-bindings in order to install neovide. It seems like using linux is just running into weird bugs you didn't know existed and solving them with weird solutions you don't understand. If you happen to have a good neovide alternative i'd love to hear one (mostly because i don't even know what neovide is or does)
    I appreciate this video, i've been watching it on and off all weekend trying to get things to work. Kind of fun, kind of hard. Maybe one day all this will make sense. I look forward to one day understanding it!

    • @NoBoilerplate
      @NoBoilerplate  2 года назад +1

      Linux is a really great tool you'll be glad you learned, I promise! I also have a few raspberry pis, they're so great! Come chat to me on the new discord channel, links on noboilerplate.org (ask in #programming)

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

    Its ok to have ther commands in the video, but it would have been more convenient to have it as pure txt - ready to copy. Just a thought. Thanx for the inspiration

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

      As I say in all my videos, source code is available on github, my videos are coded in markdown! Check the description for links :-)