TypeGPU endpoints #1497
aleksanderkatan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Right now,
tgpu
,std
anddata
are available on different endpoints. It is not uncommon to see the following in code:I propose that we export all those from the same endpoint, so it becomes:
Pros and cons that I see:
[+] less lines of code in a typical usage,
[+] we impose a naming convention for
d
andstd
,[+]
std
already depends ondata
,[-] major breaking change,
[-]
core
does not depend ondata
(however it is almost exclusively used withdata
),[-]
data
is currently independent fromcore
andstd
(unless #1486 is merged).Beta Was this translation helpful? Give feedback.
All reactions