TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Figma web/desktop app architecture

12 点作者 tcldr10 个月前
Does anyone have any resources that go deep into the stack&#x2F;architecture used by the Figma desktop&#x2F;web app?<p>I&#x27;m not so interested in the server based syncing&#x2F;CRDTs side of things (great as that is) but more the layers that make up the web&#x2F;desktop app.<p>What I&#x27;m particularly interested in is the roles and responsibilities across the various layers.<p>My understanding is that the app container is written in react and hosted via a browser or within an electron app. Then, most of the business logic is delegated to a WASM core.<p>However, my understanding of where the boundaries lie and how the various layers communicate are a bit fuzzy.<p>For example, which components are part of the Web DOM and which components are driven by Web GL? I&#x27;m guessing everything but the canvas (so menus, palettes, cursors) is part of the HTML DOM?<p>Then, business logic wise, how much work is done within the react app wrapper vs. the WASM core? Is the react layer used strictly for hosting the WASM core and rendering the UI, or does it take part in some of the business logic responsibilities also.<p>Would love to read or watch a deep dive into this if it exists somewhere.

2 条评论

marapuru10 个月前
Did you read through some of their engineering blogs? [0] They might not give you direct answers, but could give some hints on how specifics work.<p>There is also a specific blog about their infrastructure [1], maybe this gives you a better idea? Next to that, you could simply try to get in touch with one of their engineers.<p>[0] <a href="https:&#x2F;&#x2F;www.figma.com&#x2F;blog&#x2F;engineering&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.figma.com&#x2F;blog&#x2F;engineering&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;www.figma.com&#x2F;blog&#x2F;under-the-hood-of-figmas-infrastructure&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.figma.com&#x2F;blog&#x2F;under-the-hood-of-figmas-infrastr...</a>
评论 #41119497 未加载
meiraleal10 个月前
This is reverse engineering. No one from there will (want) make this public.