[DiscordArchive] Yeah, you are right. So, you think it (overall idea) might work, don't you?
[DiscordArchive] Yeah, you are right. So, you think it (overall idea) might work, don't you?
Archived author: walkline • Posted: 2024-04-02T10:00:11.957000+00:00
Original source
Yeah, you are right. So, you think it (overall idea) might work, don't you?
Archived author: Tea • Posted: 2024-04-02T10:27:01.137000+00:00
Original source
its possible to split the update but thats going to require A LOT of work
Archived author: walkline • Posted: 2024-04-02T10:37:24.690000+00:00
Original source
Alright, I initially thought the prototype could be done with a small-medium effort, but I'm not very familiar with that part of the codebase. Then I will discard that idea. Thank you for saving me time
Archived author: jackpoz • Posted: 2024-04-02T10:44:08.502000+00:00
Original source
Everything is possible, if you add enough race condition safeguards, which is not easy unless you add locks everywhere that will make the update singlethreaded anyway
Archived author: jackpoz • Posted: 2024-04-02T10:47:32.269000+00:00
Original source
if you have months to dedicate to it, you will learn about all the parts of the code that will have to be changed
Archived author: chipzz • Posted: 2024-04-02T11:22:13.453000+00:00
Original source
I would like to point out that multi-threading and locking is a topic where it’s VERY easy to have bugs. There’s a reason so little code (in general) is multi-threaded and the multi-threading that does exist very often is simple multi-threading like having a separate audio thread.
Archived author: jackpoz • Posted: 2024-04-02T11:28:28.068000+00:00
Original source
TSan and helgrind help a lot in the long run, after one has learnt about all the possible issues that can happen
Archived author: jackpoz • Posted: 2024-04-02T11:28:55.373000+00:00
Original source
the real challenge is writing efficient solutions
Archived author: jackpoz • Posted: 2024-04-02T11:29:23.016000+00:00
Original source
like https://github.com/TrinityCore/TrinityCo...ueue.h#L94
Archived author: jackpoz • Posted: 2024-04-02T11:30:24.111000+00:00
Original source
and that is just the container implementation, then one has to figure out a good architecture for the different threads