hello-rust / show

🍿 Show notes, code, and future topic ideas for "Hello Rust!", a YouTube channel about the Rust programming language.
https://hello-rust.show
306 stars 20 forks source link

Worker pool #32

Open mre opened 6 years ago

mre commented 6 years ago

What?

Implement a worker pool

Why?

Show how to use channels similar to the go implementation. Maybe there's a way to use custom derives to create a worker pool from a "pool" struct

How?

Start with the go implementation, port it to Rust and then make it more idiomatic.

mre commented 6 years ago

Also see: