Hacker News new | ask | show | jobs
by Archit3ch 79 days ago
Games and simulations are typically stateful, I'm not sure the functional purity of JAX is a good fit.

Also, what's the story for JAX + WebGL when it comes to targeting hardware-accelerated ray tracing?

2 comments

JAX is designed from the start to fit well with systolic arrays (TPUs, Nvidia's tensor cores, etc), which are extremely energy-efficient. WebGL won't be the tool that connects it on the web, but the generation after WebGPU will.
Maybe you mean mutation? State is inherently a part of functional purity. It's just handled explicitly instead of implicitly.