Better HN
topnewbestaskshowjobs
Log inSign up

jrmydev

72 karma · joined Feb 6, 2023 (3y ago) · 10 submissions

Find me at https://jrmy.dev
Submissions

comment 2y ago · link · parent

Thank you! That means a lot

comment 2y ago · link · parent

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/#

comment 2y ago · link · parent

Exactly this, along with a lot of the "smoothing-out" done by the webgpu spec which provides a clear and open abstraction target.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Drop a link! I'd be interested to check it out

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?...

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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

10.

Show HN: Shadeup – A language that makes WebGPU easier(shadeup.dev ↗)

179 points · by jrmydev · 2y ago · 56 comments