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

Prefix generic interface names? #141

Closed
anssiko opened this issue Feb 4, 2021 · 3 comments · Fixed by #149
Closed

Prefix generic interface names? #141

anssiko opened this issue Feb 4, 2021 · 3 comments · Fixed by #149
Labels
tag-tracker Group bringing to attention of the TAG, or tracked by the TAG but not needing response.

Comments

@anssiko
Copy link
Member

anssiko commented Feb 4, 2021

  1. A lot of the names are very generic (Operand, Compilation) - this feels like something we might want to prefix with something or synchronize with TC39 about.

via w3ctag/design-reviews#570 (comment)

(WebIDL namespaces https://heycam.github.io/webidl/#idl-namespaces for regular operations and read only regular attributes only.)

@anssiko anssiko added the tag label Feb 4, 2021
@dontcallmedom dontcallmedom added tag-tracker Group bringing to attention of the TAG, or tracked by the TAG but not needing response. and removed tag labels Feb 12, 2021
@cynthia
Copy link

cynthia commented Feb 21, 2021

I thought a bit about this, and figured it would be worth to be on record stating that prefixing the names with anything that indicates this is only for neural networks is probably not a good idea. (It's a compute graph that can be used for other things too)

@dontcallmedom dontcallmedom linked a pull request Mar 1, 2021 that will close this issue
@wchao1115
Copy link
Collaborator

I made a proposal in PR #149 to prefix all WebNN types with "ML", taking a cue from the ML attribute off the Navigator interface.

@anssiko
Copy link
Member Author

anssiko commented Apr 1, 2021

For spec archeology purposes, linking whatwg/webidl#425 here that added [LegacyNamespace] extended attribute to WebIDL to allow defining an interface in a namespace. As the "Legacy" in the name suggests, the use of this extended attribute is not encouraged at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag-tracker Group bringing to attention of the TAG, or tracked by the TAG but not needing response.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants