4x shorter WebGPU access from Wasm, featuring Nelua, Zig, & Rust

Опубликовано: 10 Октябрь 2024
на канале: Context Free
6,792
249

Code: https://github.com/contextfreeinfo/taca
Previous video on Taca:    • Browserless app runtime in Rust - Dem...  
WASM-4: https://wasm4.org/
Ambient: https://ambient.run/ (which also intends to support running in browsers)

0:00 Intro
0:48 Short header for GPU access
2:13 Quick review of simplified demo in Zig
3:34 Size comparison
3:57 Reviewing options
5:06 Rectangle for shaders
5:36 Nelua code
6:37 Build and run script for demo
7:34 WGSL shader code
8:50 Outro