5 ms·
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 implemen
by sjroot 7y 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/ 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!
- weberc2 7y agoMinor bit of pedantry--Yoga is written in C++.
- arcatek 7y agoBoth are kinda true - Yoga started as a C library, but was ported over to C++ ~a year and a half ago.
- hellofunk 7y agoIf that’s true, maybe they should update the first paragraph of their github page, which clearly says the library is written in C.
- hellofunk 7y agoYogas github page clearly says that it is implemented in C in the first paragraph.
- weberc2 7y agoIt's wrong. https://github.com/facebook/yoga/tree/master/yoga https://github.com/facebook/yoga/tree/master/yoga