r/ProgrammingLanguages • u/akomomssim • Mar 08 '26
Introducing Eyot - A programming language where the GPU is just another thread
https://www.cowleyforniastudios.com/2026/03/08/announcing-eyot/
95
Upvotes
View all comments
Show parent comment
1
u/GidraFive Mar 08 '26
The point is that gpu is made for massive parallelism, so everything is built around that. Including how you call these programs. It need some way of knowing how much instances to run, you cant just run it and walk away. And that raises the question of how you determine amount of instances even for a sinple example from the post. He doesnt specify it anywhere, and there is no for loop, where you could try to take values from. So you either just always run a single thread (which kinda kill all the benefits), or you must somehow annotate/elaborate your code with amount of instances/info for indirect call.
I assume OP went the first route for now, but it is really wasteful and will need to be revisited in a proper implementation.