Skip to main content
Solved

Why are plugins JS if Figma core is Wasm?

  • February 20, 2023
  • 1 reply
  • 870 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?

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

View original
This topic has been closed for replies.

1 reply

Pavel_Kiselev
  • Power Member
  • 438 replies
  • Answer
  • 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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings