Published: November 4, 2025
237
498
8.4k

This marvel is built in TypeGPU, a TypeScript WebGPU library [1/2] Among other coolness, it features a "𝚞𝚜𝚎 πšπš™πšž" directive that compiles JS to WSGL, to run on the GPU: πšŒπš˜πš—πšœπš 𝚊𝚍𝚍 = (𝚊, πš‹) => { "𝚞𝚜𝚎 πšπš™πšž"; πš›πšŽπšπšžπš›πš— 𝚊 + πš‹; }

Timely illustration of the power and need for directives. JavaScript is now a meta-language, helping you express code that will run *in other computers*. "𝚞𝚜𝚎 πšœπšŽπš›πšŸπšŽπš›" and "𝚞𝚜𝚎 πšŒπš•πš’πšŽπš—πš", as Dan Abramov eloquently put, unlocked React for Two ComputersΒΉ. It’s

Source. h/t @reczko_konrad #example=rendering--jelly-slider class="text-blue-500 hover:underline" target="_blank" rel="noopener noreferrer">https://docs.swmansion.com/Typ...

@rauchg Does this have to be used in Nextjs?

@brennendav1s Nope, just like Workflow ("𝚞𝚜𝚎 πš πš˜πš›πš”πšπš•πš˜πš ") is framework-agnostic. These things compose quite well. https://useworkflow.dev/docs/g...

@rauchg What problem does this solve

@RudolphHill9 Making WebGPU safe and practical

@rauchg Guillermo I don't know if you're trolling us at this point 😁

@rauchg Here is the link to try it yourself: #example=rendering--jelly-slider class="text-blue-500 hover:underline" target="_blank" rel="noopener noreferrer">https://docs.swmansion.com/Typ...

@rauchg How does that compare to ThreeJS? Or is it something that eventually extend to be used in Three?

@rauchg @grok would you be able to make this on demand?

@rauchg The state of Western civilization. A gloriously ray-traced gummy worm that controls nothing but fascinated dorks. Let's build another power plant so the chad-chips have enough to eat.

@rauchg @ira_yaar thoughts?

@rauchg I've never seen anything more useless.

@rauchg Does anything like this actually ever make it to deployment ? I see stuff like this all over and yet never see it in a mobile application?

@rauchg >amazing animation >unreadable text color contrast

@rauchg When I say "use MFA", everyone complains. When Guillermo says "use gpu", they clap. Interesting.

@rauchg brb upgrading my PC to be able to run this webpage

@rauchg What is this snail 🐌 slider ??? 🧐🧐🧐

@rauchg pero Guillermo, TypeGPU no corre en safari, cual es el punto en usarlo?

@rauchg Could you train ml models through JavaScript with this

@rauchg Why hou do this to me

@rauchg That's really awesome

@rauchg is it suitable for IoT programming?

@rauchg "use gpu" const llm = load("llama.cpp"); llm.invoke("what is the meaning of life?") Can't wait for this day

@rauchg This makes me giddy. 🀀

@rauchg Congrats on your gelatinous progress bar

@rauchg onfg

@rauchg So it’s literally a gpu based coding language ? πŸ˜…

@rauchg it's so nice but i don't have H100 to render it

@rauchg yo i have no idea what ur talking about but this animation is insane πŸ’€

@rauchg Worm

@rauchg 🧐

Share this thread

Read on Twitter

View original thread

Navigate thread

1/35