3 ms·
It's amazing how many people managed to skim through the post, and hammer on their own preconceptions and facile counter-arguments, for things that are all addr
by coldtea 9y ago
It's amazing how many people managed to skim through the post, and hammer on their own preconceptions and facile counter-arguments, for things that are all addressed in the argument.
And that's for a very well written post, that tries to address all common issues.
And yet, people manage to get it wrong, or write facile responses like "re-implementing the fork/join".
Not to mention missing the whole nuance of what the author is talking about, which is not about novelty of a feature, but about what it allows us (and even more so, what it constraints us).
It's like as if people being shown for loops and structured programming in the 60s responded with "this proposal just reinvents gotos". Or worse, that "this is more restrictive that gotos".
Yes, the author knows about the Erlang's model. He writes about it in the post, and about how you can use his proposal to do something similar.
Yes, the author knows about Rust's model. In fact Graydon Hoare, the creator of Rust (now working at Apple on Swift), has read the post's initial draft and gave his comments to the author.
- twic 9y agoIf 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.