3 ms·
For the endgame of this, look no further than Figma. Their entire engine is custom-built in C++ and has been since 2015: https://www.figma.com/blog/building-a-p
by btown 5y ago
For the endgame of this, look no further than Figma. Their entire engine is custom-built in C++ and has been since 2015: https://www.figma.com/blog/building-a-professional-design-tool-on-the-web/ https://www.figma.com/blog/building-a-professional-design-to...
> Instead of attempting to get one of [HTML/SVG/JS Canvas] to work, we implemented everything from scratch using WebGL. Our renderer is a highly-optimized tile-based engine with support for masking, blurring, dithered gradients, blend modes, nested layer opacity, and more. All rendering is done on the GPU and is fully anti-aliased. Internally our code looks a lot like a browser inside a browser; we have our own DOM, our own compositor, our own text layout engine, and we’re thinking about adding a render tree just like the one browsers use to render HTML.
For what it's worth, this isn't all that dissimilar from game development on proprietary engines, and that hasn't stopped indie game devs from experimenting. But it will be a huge problem for accessibility.