Re:Swift System Is Now Open Source
by mhh__ on Friday September 25, 2020 @04:48PM
(#24593940)
Eek. I've done it but not exactly seamless as implied above! (feels Like using a landmine as a baking scale)
[ Parent
| on HN ]
Re:Swift System Is Now Open Source
by jhatemyjob on Friday September 25, 2020 @04:48PM
(#24593945)
What issues did you run into?
I've only ever done it out of curious laziness but it's one of those things where it's theoretically clean enough to do right but if you do it wrong you might be fixing it all day. If something changes downstream or you make a mistake at 9AM you can end up with subtle non-failing garbage everywhere.
The only way I would do it and trust it, would be if the binding is generated and tested (separately) automatically, but at that stage why not just write one with a proper ABI.