Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way too many global variables #614

Open
CelticMinstrel opened this issue Feb 15, 2025 · 0 comments
Open

Way too many global variables #614

CelticMinstrel opened this issue Feb 15, 2025 · 0 comments
Labels
work Non coding related task

Comments

@CelticMinstrel
Copy link
Member

There are tons and tons of global variables tracking all manner of state and it's pretty confusing. We should reduce the number of globals as much as possible – even just gathering related individual globals into a global struct would be a huge improvement to how things are now.

The fact that some targets require spurious declarations just to compile is also a problem. We should avoid declaring extern globals in headers that are included in more than one target.

@CelticMinstrel CelticMinstrel added the work Non coding related task label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
work Non coding related task
Projects
None yet
Development

No branches or pull requests

1 participant