3 ms·
Did you read the comment that started this thread? Let me repeat that, ICYMI: > "So I agree this isn't just wiring up of dependencies, and neither is it copied
by square_usual 8mo ago
Did you read the comment that started this thread? Let me repeat that, ICYMI:
> "So I agree this isn't just wiring up of dependencies, and neither is it copied from existing implementations: it's a uniquely bad design that could never support anything resembling a real-world web engine."
It didn't use Servo, and it wasn't just calling dependencies. It was terribly slow and stupid, but your comment is more of a mischaracterization than anything the Cursor people have said.
- mjr00 8mo agoYou're right in the sense it didn't `use::servo`, merely Servo's CSS parser `cssparser`[0] and Servo's DOM parser `html5ever`[1]. Maybe that dog can do taxes after all. [0] https://github.com/search?q=repo%3Awilsonzlin%2Ffastrender%20use%20cssparser&type=code https://github.com/search?q=repo%3Awilsonzlin%2Ffastrender%2... [1] https://github.com/search?q=repo%3Awilsonzlin%2Ffastrender+html5ever&type=code https://github.com/search?q=repo%3Awilsonzlin%2Ffastrender+h...
- simonw 8mo agoTaffy is related to Servo too, though apparently not officially part of the Servo project - but Servo does use it. https://github.com/DioxusLabs/taffy https://github.com/DioxusLabs/taffy Used here (I think): https://github.com/servo/servo/tree/c639bb1a7b3aa0fd5e02b40d487fb49439f63bf8/components/layout/taffy/stylo_taffy https://github.com/servo/servo/tree/c639bb1a7b3aa0fd5e02b40d...
- nicoburns 8mo agoServo uses Taffy for CSS Grid. It could also very easily use it for Flexbox, but they currently prefer to use their own implementation there. It was originally a derivative of React Native's Yoga implementation of Flexbox, and is currently developed primarily as part of the Blitz engine.