News for hackers. Stuff that matters.

jrmydev

Re:Show HN: Shadeup – A language that makes WebGPU easier on Thursday January 18, 2024 @06:17PM (#39049332)
Thank you! That means a lot
Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @06:41PM (#39035244)
I think the main feature that's exciting for me is the gpgpu potential. Even just looking at the ability to accelerate llms in the browser on any device without an installation is awesome

For example: fleetwood.dev has a really cool project that does audio transcription in browser on the GPU: https://whisper-turbo.com/#

Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @06:29PM (#39035144)
Exactly this, along with a lot of the "smoothing-out" done by the webgpu spec which provides a clear and open abstraction target.
Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @06:27PM (#39035114)
Users can already kinda do this by showing the compiled output, but the js engine itself is still tucked away. At some point, I would probably have a tree shaken full output for each shadeup.
Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @03:09PM (#39032765)
Drop a link! I'd be interested to check it out
Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @02:58PM (#39032635)
Your project sounds interesting as well. Do you have a social channel or GitHub for this project? Or is there something I can follow to be updated when you release it?

I'd love to learn more about what you're working on as I've been wanting to integrate shadeup with existing game engines like unreal/unity but realizing it would be a massive undertaking.

Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @01:41PM (#39031655)
Hmm, that's probably the static picture fallback you're seeing.

Here's a video of what the particles look like when moving if interested: https://www.loom.com/share/c2608492dce44ab4b84b8fe4c68c44cd?...

Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @01:24PM (#39031444)
Thanks, and great question:

Shadeup will try to fit it all into one command encoder but may need to split if the coder: 1. Manually flushes 2. Reads/downloads a buffer on the CPU

Most calls are lazily evaluated, and a small dep graph is built as you reference/draw things.

That being said, shadeup does make some perf sacrifices in the name of simplicity. I'd say it's well suited to prototyping and learning. Of course, once you have a working prototype of something porting it to native wgsl should be easy

Re:Show HN: Shadeup – A language that makes WebGPU easier on Wednesday January 17, 2024 @01:11PM (#39031283)
Yeah, unfortunately, the main background is running webgpu so edge/chrome/opera desktop are the only browsers that can see it.

Here's a screenshot of what it should look like: https://i.imgur.com/CBHaftp.jpg