HNHacker News
TopNewBestAskShowJobs

jrmydev

72 karma · joined February 6, 2023

Find me at https://jrmy.dev
submissionscomments
jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
Thank you! That means a lot
jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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/#

jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
Exactly this, along with a lot of the "smoothing-out" done by the webgpu spec which provides a clear and open abstraction target.
jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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.
jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
Drop a link! I'd be interested to check it out
jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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.

jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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?...

jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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

jrmydev··on Show HN: Shadeup – A language that makes WebGPU easier
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