5 ways to increase your productivity in Rust

preview_player
Показать описание
Today we are discussing how to increase your productivity when programming in Rust!

📝Get your FREE Rust cheat sheet :

#rust #programming #productivity
Рекомендации по теме
Комментарии
Автор

1:02 Cargo-watch
2:08 Cargo-nextest
3:10 Sccache
3:50 AI Code Completion
4:51 Make it work, make it right, make it fast

ixirsii
Автор

With Python: Have fun early, frustrate later.
With Rust: Frustrate early, have fun later.

thingsiplay
Автор

Speaking of increasing productivity, Ctrl+L will clear your terminal

sysop
Автор

How about you create an "idiomatic rust" series? E. g. based on the rust unofficial design patterns?

Thanks for the great content!

wtho
Автор

Thanks for your videos. I plan to write an audio sampler. If you plan to do a bit a more complex project series, people could learn a lot on how to write a stable application and accessing pc interfaces and how all pieces come together

michaelhugi
Автор

Hi Bogdan, I found this one particularly helpful. I started my dive into Rust 9 days ago by first watching some of your videos. Now I am somewhat capable of writing Rust and looking to increase the productivity and joy in working in it. I think tabnine is going to be very useful and I installed cargo-watch and the others in real time as you showed them. Great video. Thanks.

richsadowsky
Автор

You can use rust analyzer to add method stubs for all of the methods required by a trait. Super fast.

josephlyons
Автор

I am still a beginner programmer (1 year experience with Java, 6 months with C, 6 months with Pascal). My way of dealing with memory and ownership in C was exactly like the one that you propose beginners can use in Rust. By default when a struct is taking a pointer to another struct copying is done. instead of using free I call a function to free each struct which also frees the data that the struct owns. That's how I did it. A lot of unneccessary copying but it gets rid of the double frees. Sometimes you can't do this of course, but then in the delete function you don't free up the memory for the pointers that you don't copy, but the default was to copy.

studentbg
Автор

Every time I think I have made peace with the borrow checker, it smashes me with a new more complicated pickle. Normally its because I am using some library wrong, and the confounded library documentation doesn't have enough documentation / examples for all its features :(

EngineerNick
Автор

I like cargo-edit and cargo-feature for dependency management.

MrBajs
Автор

There are programs such as watchexec that run commands once the file or dir is updated, cargo-watch is just for cargo, programs like watchexec works for all commands.

codychan
Автор

cargo clippy can make your code better and cargo udeps to check for unused dependencies

Karpfly
Автор

The dbg! macro is also much better than printing for debugging

matthiasdebernardini
Автор

4:40 i also get that in sublime text 4 without any malicious ai completion

alexzander__
Автор

Great !!! I loved running tests using nextest .... continue please...

saaddahmani
Автор

Me whose not a rust developer: _yes yes very interesting_

donv
Автор

Very useful content as always. Thanks a lot.

TheAmirhosseinab
Автор

third, really appreciate the work you do! :+1

loakeshindiran
Автор

I can’t wait to use the productivity tips in my life! 💫 Keep rising to be who you want to be! 💫 #keeprising #risingtobe #aswerise

ProspectivePlans
Автор

Just run oilrig with a crossie and easy progress

Mahhdeus