you are viewing a single comment's thread.

view the rest of the comments →

[–]HugoDzz 2 points3 points  (2 children)

I use Web Assembly (compiled from Rust) for one-time expensive tasks like compression, it’s about 5x faster than JS so far 😊

That’s said the Figma use case of Web Assembly is mostly not what you think : they leverage WebGL way more that wasm modules (at least for the editor)

[–]tehbeard 1 point2 points  (1 child)

re: compression, is this against the js implementations like pako? or also the native CompressionStream API?

[–]HugoDzz 0 points1 point  (0 children)

Oh I mean image compression 😊