by cyberon · 8y ago · 0 comments
There are many cases you should consider, like returning rows (composite types) and implementing trigger functions.
Anyways, a nice feature of Swift in this context is that Swift can directly access C APIs w/o any "wrapping". So while PL/Swift can add convenience APIs (like the ones it has to convert String's and Int's into Datum's), it can already do almost everything C can do due to that.
Well, you have to write a modulemap, but I see what you mean.