while it's nice. something I want most is to fill the gap between JavaScript and WGSL. there's structs in WGSL, but JavaScript does not provide structs. If both languages is Rust, I can see people defining macros defining traits to fix the issues that structs on GPU has layouts with aligned=blabla and size=blabla, and that being guaranteed by compiler. Now in JavaScript it took me a lot time to figure out I used wrong structure or buffer layout, and always to match the buffer layouts. (disclaimer, I'm toying with WebGPU but I'm not gamer developer, not used game engines yet.)
@@JiyinYiyong I totally understand your pov. This kind of solves the problem you’re mentioning as it separates out GPU related code and CPU related code completely by using automatic layout and binding generation, however it’s not as nice as rust for what you’re describing and honestly the goal for it is not to beat rust, but to create a new path for parallel computing and simulation…
now I can argue about using wgsl in normal web apps
@@XyndraNerd yes! 🙌
Bro locked in.
@@SuboptimalEng haha 😂
After watching the video, I’m intrigued. I started learning WebGPU last weekend and found the setup code to be tedious. Going to check this out.
@@SuboptimalEng amazing! you’re the type of person I’m building this for 😉
Let me know what you think when you try it!
I really hope this project can make WebGPU a more attractive option for the uninitiated web devs (like me). All the best! Starred the repo ❤
@@joostkersjes4349 thank you!!
We’ll make it happen 🫡
Awesome, can't wait to try this out!
Thank You!
Share your thoughts when you do!!
wow😮🔥
Its wonderful🤌🏻
It issss wonderful!! so much more productive now.
still a lot to improve, but at least its a good start 😄
Thanks for the kind words!
Wow, I'm really stunned 🔥
Thanks! Glad you like it.
while it's nice. something I want most is to fill the gap between JavaScript and WGSL. there's structs in WGSL, but JavaScript does not provide structs. If both languages is Rust, I can see people defining macros defining traits to fix the issues that structs on GPU has layouts with aligned=blabla and size=blabla, and that being guaranteed by compiler. Now in JavaScript it took me a lot time to figure out I used wrong structure or buffer layout, and always to match the buffer layouts. (disclaimer, I'm toying with WebGPU but I'm not gamer developer, not used game engines yet.)
@@JiyinYiyong I totally understand your pov.
This kind of solves the problem you’re mentioning as it separates out GPU related code and CPU related code completely by using automatic layout and binding generation, however it’s not as nice as rust for what you’re describing and honestly the goal for it is not to beat rust, but to create a new path for parallel computing and simulation…
Looks like TSL
@@すべてに興味を失う I’d say it looks more like WGSL, which is what TSL is built on top of 😄
And it’s WebGpu in every way. No WebGL.
wow... thanks !!
@@StephaneVFX Thanks for watching 😃
Remarkable!
Thanks for the kind comment, Ghazal!
Cool