Terminal To-Do App in Rust

Ғылым және технология

References:
- github.com/tsoding/todo-rs
Support:
- Patreon: / tsoding
- Twitch Subscription: / tsoding
- Streamlabs Donations: streamlabs.com/tsoding/tip
Feel free to use this video to make highlights and upload them to KZread (also please put the link to / tsoding in the description)

Пікірлер: 40

  • @nicolashumbert8344
    @nicolashumbert8344 Жыл бұрын

    I would have called it "ToDust" 🤗

  • @damickillah
    @damickillah3 жыл бұрын

    As far as rust dev inside emacs goes, I recommend rustic, rust-analyzer, and rust-auto-use. It really makes life a lot easier when developing rust inside of emacs.

  • @JakobKenda

    @JakobKenda

    8 ай бұрын

    did you ever see the man use any LSP?

  • @SownJevan

    @SownJevan

    Ай бұрын

    ​@@JakobKendayeah company mode, it's sort of like lsp, not quite but still.

  • @babhineethbhat
    @babhineethbhat5 ай бұрын

    Finally a worthy video where i can learn rust by building something cool

  • @michaelnishizawa6688
    @michaelnishizawa6688 Жыл бұрын

    At the point where you decided to go to ncurses, did you hit 'q'? I was following along and got to the same point, I got the same output but q is what we are matching on to break. One thing I don't understand is the difference in behavior when we assign stdout() to the stdout variable. When I perform that assignment, the program exits immediately without echoing the keypress to output. When I don't assign that, it echos keypress to the output. But stdout isn't used anywhere so that seems like it shouldn't make any difference.

  • @clovis-2557
    @clovis-25572 ай бұрын

    Impressive as always. I would have use just one list.. top title todo, todos,middle title done, dones. Put the todo which is done at the bottom of the list. Thanks for sharing ! Learn a lot about Rust.

  • @Vulto166
    @Vulto166 Жыл бұрын

    You can name it "Trust".

  • @damickillah
    @damickillah3 жыл бұрын

    I would have named it rusttd as in "rusted"(past tense of rust) but you know, that's just what I would've done. You should have way more subscribers than what you have. By far!

  • @DevArt59
    @DevArt592 жыл бұрын

    what's this $ cm 'cargo run' you ran ?

  • @birdbeakbeardneck3617
    @birdbeakbeardneck36172 жыл бұрын

    TODUST!

  • @ashispaul0013
    @ashispaul00132 жыл бұрын

    Just wondering if I want to implement the same in golang what libraries would be the best?

  • @finnmonstar

    @finnmonstar

    Жыл бұрын

    No Go developers are allowed around here.

  • @spguy7559
    @spguy75592 жыл бұрын

    how is rust language in your opinion ?

  • @YouhanaSheriff
    @YouhanaSheriff2 жыл бұрын

    how to publish CLI apps/ tools that is written in Rust. so others can use it??

  • @Cookiekeks

    @Cookiekeks

    Жыл бұрын

    You compile it and share the binary

  • @tervicke487
    @tervicke4873 жыл бұрын

    Try creating a text editor with rust ncurses?

  • @burakgazicetin3628

    @burakgazicetin3628

    2 жыл бұрын

    Good idea

  • @rodelias9378
    @rodelias93782 жыл бұрын

    Awesome tool. Thanks! Btw, maybe you could make a Wordle cli in Rust too.

  • @dibyojyotibhattacharjee5349
    @dibyojyotibhattacharjee53493 жыл бұрын

    Yoo Tsoding, please do a cli app series in c++.

  • @tervicke487

    @tervicke487

    3 жыл бұрын

    I agree

  • @meanmole3212

    @meanmole3212

    2 жыл бұрын

    I vote for more Rust

  • @mikasd9

    @mikasd9

    2 жыл бұрын

    @@meanmole3212 agreed. Rust > C++ all day

  • @stardustbiscuits

    @stardustbiscuits

    2 жыл бұрын

    @@mikasd9 rust is better

  • @cherryramatis2508
    @cherryramatis25082 жыл бұрын

    how do you achieve this layout with one window tabbed and another aside ?

  • @burakgazicetin3628

    @burakgazicetin3628

    2 жыл бұрын

    In i3 default keybinding this is super+w i guess

  • @jakimoretti7771
    @jakimoretti77712 жыл бұрын

    what's the emacs color scheme?

  • @ohmyv3gatron

    @ohmyv3gatron

    Жыл бұрын

    Zenburn…

  • @_rainaa
    @_rainaa5 ай бұрын

    Does anybody know which theme tsoding is using?

  • @abhishek.rathore

    @abhishek.rathore

    4 ай бұрын

    3:45 Its called elflord

  • @Mekelaina
    @Mekelaina2 жыл бұрын

    i think hermit crab coulda been a cool name for the program. although you could use that for any rust program since rusts mascot is a crab

  • @bobby9568
    @bobby9568 Жыл бұрын

    So cool

  • @cassandradawn780
    @cassandradawn7802 жыл бұрын

    nice bitrate

  • @andy_lamax
    @andy_lamax Жыл бұрын

    90% of tsodin's functions/methods return void

  • @Lars-ce4rd
    @Lars-ce4rdАй бұрын

    Funny how emacs users open vim, but vim users never open emacs.

  • @Lars-ce4rd
    @Lars-ce4rdАй бұрын

    2:33:16 what a bad error. You need to have a long impossible to understand stacktrace with lots of internal calls that you don't need to know about. Of course all this needs to be printed AFTER the message so that the user has to scroll all the way up. But also it would be too simple if the message was just printed immediately, so instead first we print some metadata and general information. What compiler version was used is probably useful, stuff like that. And somewhere in the middle, the developer can print their stupid message.

  • @user-dl6uc7vn6w
    @user-dl6uc7vn6wАй бұрын

    Я думал ты Имаксер

  • @ewertonls_
    @ewertonls_ Жыл бұрын

    *Simplicity is unsafe*

  • @angelcaru

    @angelcaru

    2 ай бұрын

    Rust: Type safety, Memory safety, and Job safety

Келесі