7 May 2020 |
| lachlansneff joined the room. | 03:02:24 |
lachlansneff | Hello friends | 03:02:58 |
cwfitzgerald | hallo! | 03:03:30 |
| lijinlei joined the room. | 03:31:23 |
| vnf joined the room. | 05:20:59 |
| MacTuitui joined the room. | 07:32:23 |
| msiglreith joined the room. | 09:00:32 |
| scoopr joined the room. | 15:07:26 |
scoopr | Communities are for the flairs/badges ;) | 15:12:40 |
8 May 2020 |
lachlansneff | Here's the slides for the Naughty Dog fibers presentation. | 03:22:11 |
lachlansneff | Download parallelizing_the_naughty_dog_engine_using_fibers.pdf | 03:22:24 |
kvark | and here is something we built 5 years ago in an attempt to replicate it: https://github.com/slide-rs/fibe-rs | 04:10:35 |
kyren | would you consider the replication successful? | 21:58:18 |
kvark | I recall it being functional but incomplete | 21:59:51 |
cwfitzgerald | how did rust handle the whole "getting yeeted off your thread" thing | 22:16:18 |
9 May 2020 |
kyren | I think when I explained my position earlier I said that producing the work graph without async is just "using the rust language itself" and I think that was wrong, really with async both of them are using the rust language, but one of them is using rayon and closures and one is using Future, I would still guess rayon is faster and more limited (but in a good way in that it prevents you from waiting arbitrarily long) | 00:29:49 |
lachlansneff | Can rayon operate on async closures instead of regular closures? | 04:52:04 |
kyren | no | 06:20:31 |
kyren | not directly or anything, that wouldn't make a lot of sense I think | 06:21:37 |
kyren | rayon doesn't really like it when you do anything that blocks, it's not really for concurrency at all | 06:22:02 |
kyren | * rayon doesn't really like it when you do anything that blocks or waits, it's not really for concurrency at all | 06:22:14 |
kyren | rayon is a data parallelism library, I think this will make this whole discussion clearer: https://en.wikipedia.org/wiki/Data_parallelism#Data_parallelism_vs._task_parallelism | 06:24:26 |
kyren | actually I'm not 100% confident in these terms to be honest | 06:32:32 |
kyren | rayon was inspired by cilk, and wikipedia lists cilk as a task parallelism system, and it seems like rayon can do task parallelism just fine, ugh I dunno I'm not very confident in these terms, somebody go get an academic | 06:35:23 |
kyren | https://docs.rs/rayon/1.3.0/rayon/fn.join.html <- this seems like task parallelism 🤷♀️ | 06:36:15 |
kyren | but whatever, it's harder to argue about academic terms than it is specifics | 06:36:51 |
11 May 2020 |
cwfitzgerald | we shoudl advertise this channel in some way somewhere | 21:13:54 |
startoaster | The rust gamedev channel might allow it. You can always ask on meta. | 21:19:30 |
cwfitzgerald | probably | 21:20:32 |
cwfitzgerald | I also mean like on the repo and such | 21:20:36 |