3 ms·
On the other hand, the project is in continuous development since 2015, created by a (game-)industry veteran and used in a (or at least one) released game. IME
by flohofwoe 6y ago
On the other hand, the project is in continuous development since 2015, created by a (game-)industry veteran and used in a (or at least one) released game. IME such projects born out of real-world requirements are much more robust (and easier to integrate) than the typical 'academic' or (worse) 'Google-scale' framework.
- exDM69 6y agoYeah, under the kind of typical workload I imagine this goes through in a gamedev environment, I don't expect it to ever hit the contention cases. But it could as well use mutex/condvar because it is unlikely to be contended. If there is a bug in the atomics code, it will manifest as sporadic performance. They are not easy to debug.
- DSingularity 6y agoI agree. Absent contention those primitive are manipulated via user-space operations anyway. The condition variable even has some optimistic spinning in the NPTL implementation iirc. So basically, he is reinventing the wheel.
- pjmlp 6y agoFrom that point of view, without judging anything about enkiTS and playing devil's advocate, there are lots of software proving their value in production, without having one single line of code subjected to the all best practices that are discussed here or in conferences. So we should put aside all those YAGNI, TDD, endless review processes, and just focus on delivering actual product value.