News for hackers. Stuff that matters.
Re:Show HN: A pure Swift port of the Cassowary linear constr... by indemnity on Friday August 18, 2017 @05:32PM (#15049896)
Nice! Have you done any performance comparisons to C++ kiwi?

Question: Any reason you manually added backing fields for properties instead of using private(set) var name: Type, for example? Since the latter has the effect of making it a let property outside of the class (cannot mutate an array exposed like this from the outside, for example).

Re:Show HN: A pure Swift port of the Cassowary linear constr... by andybest on Friday August 18, 2017 @05:45PM (#15050009)
I haven't done any performance comparisons yet, unfortunately. I'm still working on improving the codebase to make it more Swifty. The backing fields are a leftover from the original Java implementation, and I didn't want to change too much initially, but now I have a bunch of tests and am using it in another project (a PDF generation library), I will start to make these changes :)