Excellent video. I wanted to clarify one thing on your analogy between JS promises and Rust futures. One key difference here is that a Rust future will never execute anything until you await it. Whereas a JS promise will begin execution when it’s initialized. In other words, Rust futures are lazy and JS promises are eager.
Yes! You are right. I didn't want to go deep on futures since I assume the viewer may already know about it. If they didn't, comparing it to promises in JS is enough to give them an idea of what it is.
Here's the link to the repository for the codebase: github.com/cudidotdev/async-tests
This was good, mate. Thanks.
Thank you too ‼️
The start_paused was a really neat trick I would have likeky not found out about. Thanks
You are welcome!
Excellent video.
I wanted to clarify one thing on your analogy between JS promises and Rust futures. One key difference here is that a Rust future will never execute anything until you await it. Whereas a JS promise will begin execution when it’s initialized. In other words, Rust futures are lazy and JS promises are eager.
Yes! You are right. I didn't want to go deep on futures since I assume the viewer may already know about it.
If they didn't, comparing it to promises in JS is enough to give them an idea of what it is.
What a great consise video. Thanks I love this.
I'm glad you loved it!
This is an great video, thank you!
I'm glad you found it helpful 👍
your neovim looks so polished, do you have it on github?
I'm not really sure, but i used nvchad for my setup
@cudidotdev oh ok will check it out