Hacker News new | ask | show | jobs
by ar-nelson 1162 days ago
Yes, but it's rare to see linked libraries that use this as their API, even though it would greatly simplify FFI.
1 comments

That's the exact point. Why would someone use a linked library if speed doesn't matter and they are passing text back and forth to be parsed?

That's a terrible way to use a FFI and you would still deal with all the tricky parts.

If that's what you need, you would write a separate stand alone program and call that.