Tsoding live-codes a rewrite of a Go application in Rust, exploring TCP networking, error handling, and concurrency.
Previous Episodes: youtube.com/playlist?list=PLpM-Dvs8t0VZ1tPn-Qqdro3p_5s1HuMyF
Chapters:
- - Announcement
- - Intro
- - Why is Telemetry a Big Deal?
- - Hello World in Rust
- - TcpListener
- - Error Handling in Rust
- - Accepting Connections
- - Safe Logging
- - Threads
- - Channels
- - Rust is not Newbie-Friendly
- - Client Thread
- - I do not Celebrate Halloween
- - Shared Connection Between 2 Threads
- - Server Thread
- - Testing
- - Why do I still Dislike Rust?
- - Ban List
- - Rate Limit
- - Text Validation
- - Troubleshooting
- - Risks
- - Outro
References:
- Tsoding - 4at - github.com/tsoding/4at
- Suckless - st - st.suckless.org/
Support:
- BTC: bc1qj820dmeazpeq5pjn89mlh9lhws7ghs9v34x9v9
- Servers: zap-hosting.com/en/shop/donation/2038e94867b5e65cab2e72abf8a…
Why it's here
1 person recommends this
What people say. Recommended as a practical, step-by-step demonstration of building a simple network application in Rust.
d
u/devoloutionin r/rust • Recommends
On “TUI Libraries in Rust??”
I second ratatui.
If you are a rust newbie I would also suggest that you start with a simple iirc chat that just prints stuff to the console with the print! and println! macros. You can still layout your app in style later!
If you have the time Tsoding on YouTube did a whole coding session exactly like this: link to this video