3 ms·
If the author knows about Rust, it's a little odd that he didn't mention scoped-threadpool, which is pretty close to this idea: http://kimundi.github.io/scoped
by twic 9y ago
If the author knows about Rust, it's a little odd that he didn't mention scoped-threadpool, which is pretty close to this idea:
http://kimundi.github.io/scoped-threadpool-rs/scoped_threadpool/struct.Pool.html http://kimundi.github.io/scoped-threadpool-rs/scoped_threadp...
EDIT: He compares to Rust in a comment on the Reddit thread:
https://www.reddit.com/r/programming/comments/8es8x3/notes_on_structured_concurrency_or_go_statement/dxxucgi/?st=jggijgyw&sh=3a0dced9 https://www.reddit.com/r/programming/comments/8es8x3/notes_o...
As an aside, HN users tend to sneer at Reddit, but this is another case where the discussion on Reddit is better than the one here.