←back to thread

Multi-Core by Default

(www.rfleury.com)
70 points kruuuder | 1 comments | | HN request time: 0s | source
Show context
stephc_int13 ◴[] No.45537835[source]
I think this is less innovative than it seems.

The approach described in this article is to reverse the good old fork/join, but it would only be practical for simple sub tasks or basic CLI tools, not entire programs.

In the end, using this style is almost the same as doing fork/join, except the setup is somewhat hidden.

replies(2): >>45537928 #>>45538890 #
rfleury ◴[] No.45537928[source]
Those interested can go look at all of the actual code I’ve written using these techniques, and decide for themselves whether or not it’s practical only for “simple sub tasks or basic CLI tools”:

https://github.com/EpicGamesExt/raddebugger/blob/c738768e411...

https://github.com/EpicGamesExt/raddebugger/blob/master/src/...

replies(1): >>45538092 #
1. jt2190 ◴[] No.45538092[source]
Posting a tl;dr here might stave off some of dismissive comments based only on only reading the headline.