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

Calling messages by string and message families #67

Open
iboB opened this issue Mar 23, 2023 · 0 comments
Open

Calling messages by string and message families #67

iboB opened this issue Mar 23, 2023 · 0 comments
Labels

Comments

@iboB
Copy link
Owner

iboB commented Mar 23, 2023

This is technically possible, but seems way to risky. Minor user mistakes would lead to terrible ub, crashes, or worse.

It is possible to have some kind of safety for such a feature?

Perhaps this should be left for message families: a hypothetical new feature which groups all messages with the same signature as a "family". Then calling by string would be safe. A family would be a good way to expose messages to a language like lua or js.

@iboB iboB added the question label Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant