Re:Global variables are bad (2013)
by FrozenVoid on Thursday July 26, 2018 @08:24AM
(#17616841)
Global variables are fastest, least memory intensive way to transfer state. If you need thread safety, atomic variables are still faster and more efficient than any alternative.
You can create pseudo-namespaces in C like Global_ and avoid name clashes too.
[ Parent
| on HN ]
There are no comments on this comment yet.