joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Can we utilize WebAssembly module to assist with SSR?

Open rglover opened this issue 3 years ago • 2 comments

Oh boy, BUZZWORDS.

In all seriousness, though, I think they're might be a way to eek out some performance at render time by taking a lot of the tree looping stuff and doing it with Rust (calling it via ffi). There's nothing terribly special about most of the work, but the recursion on stuff like CSS parsing and handling <when></when> tags is the clear bottleneck in performance tests.

Of course I'm skeptical because this could go off the rails fast, but it could also create a side opportunity for codifying a process for handling CPU-heavy work.

rglover avatar Nov 14 '22 21:11 rglover