Skip to main content
February 20, 2023
Solved

Why are plugins JS if Figma core is Wasm?

  • February 20, 2023
  • 1 reply
  • 971 views

I’m curious as to why Figma made the decision for the environment for running plugins in Figma/FigJam and the code of plugins themselves are JavaScript, rather than a language that compiles to WebAssembly (SWIFT, Go, C, etc) since the rest of the Figma/FigJam applications are Wasm based?

This topic has been closed for replies.
Best answer by Pavel_Kiselev

Web assembly is for heavy tasks, like rendering. Everything else does not seem to be very practical in wasm. JS for plugins makes it very accessible for everyone to create stuff

1 reply

Pavel_Kiselev
Power Member
February 20, 2023

Web assembly is for heavy tasks, like rendering. Everything else does not seem to be very practical in wasm. JS for plugins makes it very accessible for everyone to create stuff