Hacker News new | ask | show | jobs
by sjroot 2574 days ago
I was hoping to hear more discussion about performance. At the root of this seems to be a flexbox-esque implementation in Swift. Yoga, one such flexbox implementation written in C, has touted much better performance over UIKit for a while. How do apps built with SwiftUI compare to their UIKit alternatives? How would it compare with some solutions already in the Swift OSS community that utilize flexbox? [Texture](http://texturegroup.org/) comes to mind but I'm sure there are others.

It must be so much fun to work on a project that impacts so many developers. Thanks again!

1 comments

Minor bit of pedantry--Yoga is written in C++.
Both are kinda true - Yoga started as a C library, but was ported over to C++ ~a year and a half ago.
If that’s true, maybe they should update the first paragraph of their github page, which clearly says the library is written in C.
Yogas github page clearly says that it is implemented in C in the first paragraph.