Serverless servers: Node.js with in-function concurrency
• Node.js optimized concurrent execution model for Vercel Functions
• Private beta customer @madeonverse reduced their compute cost by 50%
• Available today as opt-in public beta
vercel.com/blog/serverles…
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:
𝚌𝚘𝚗𝚜𝚝 𝚊𝚍𝚍 = (𝚊, 𝚋) => {
"𝚞𝚜𝚎 𝚐𝚙𝚞";
𝚛𝚎𝚝𝚞𝚛𝚗 𝚊 + 𝚋;
}