-
Notifications
You must be signed in to change notification settings - Fork 21
C ABI support #89
Copy link
Copy link
Open
Labels
core libraryRelated to Oak's core libraryRelated to Oak's core libraryenhancementNew feature or requestNew feature or requestforeign function interfaceRelated to Oak's FFI systemRelated to Oak's FFI system
Description
Activity
Metadata
Metadata
Assignees
Labels
core libraryRelated to Oak's core libraryRelated to Oak's core libraryenhancementNew feature or requestNew feature or requestforeign function interfaceRelated to Oak's FFI systemRelated to Oak's FFI system
Oak's FFI supports calling C functions, only if the target function follows the oak FFI protocol (e.g. receive a vm object, and interact with it)
As Oak is advertised to be more portable than C(not relevant, but still), being able to call any C function is a useful feature.I guess a better description for the feature would be: "Be compatible with C's calling conventions on a variety of C-capable architectures"
Any thoughts on that?