-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
[WIP] std.interface #4567
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
[WIP] std.interface #4567
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good overall, but i think some doc comments on how to use it would be nice ;)
But: Looks like this could replace the current interface pattern quite well
…eorganize tests
…cator implementation with std.interface
…tion is called as noasync
This looks like a nice project, that is still WIP and does not require any language or std lib changes. My suggestion would be to work on it in a separate repo until it's ready to be proposed to upstream.
I'm sorry I can't answer this question yet. Let's continue discussing in #130. But the open pull request queue is reserved for code that is proposed to get merged into upstream, and this isn't ready for that yet. |
@andrewrk |
This module provides tools to create interface types that work at runtime and comptime.
Checklist:
This is currently just a prototype, submitting this PR to make sure the direction of this implementation is something that would fit into zig.