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

Module Overloading #60

Closed
VonTum opened this issue Jan 30, 2025 · 0 comments
Closed

Module Overloading #60

VonTum opened this issue Jan 30, 2025 · 0 comments

Comments

@VonTum
Copy link
Collaborator

VonTum commented Jan 30, 2025

We can do module overloading at the Abstract Typing Level. That makes it such that modules can still be navigated reliably (so no C++-style parsing idiocy), while allowing for overloaded naming. Given that we don't intend to add traits, it means that with module overloads it isn't possible to dynamically "pick" an implementation based on template arguments. To me that seems like a fair tradeoff, since highly generic hardware development isn't a goal of SUS.

Synergises very well with #58, such that we can have operator overloading for other types, like float (See #27)

@VonTum VonTum closed this as completed Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant