Remix.run Logo
dygd 6 hours ago

It may look like a crappy Electron app, but Figma has a quite interesting architecture. The browser editor is developed in C++ and cross-compiled to JavaScript with emscripten. The rendering engine looks like its handling HTML, but it's actually rendering their own document format for cross-browser consistency. They have their own CRDT implementation to handle multi-user edits.

[0] https://www.madebyevan.com/figma/building-a-professional-des...

[1] https://www.madebyevan.com/figma/

[2] https://www.madebyevan.com/figma/how-figmas-multiplayer-tech...

love2read 6 hours ago | parent [-]

I think my biggest question is who cares? What does having an interesting internal architecture have to do with the “its electron though” ideological attack.

brulard 4 hours ago | parent [-]

It is made to perform much better than your typical electron app would. Saying electron-based == shitty is complete misunderstanding of the technology. Although i dislike Figma as much as the next guy, their app was in many ways very impressive. See Figma's cofounder old articles at https://madebyevan.com/figma/