Skip to content

portable bindings #9

@dominictarr

Description

@dominictarr

looking at the code here:
https://github.com/creationix/nucleus/tree/master/implementations/duktape/duv

it looks like that is coupled to libuv and duktape, and wouldn't that mean that you would also have to rewrite that binding when you introduce jerryscript and others

That might be acceptable for if we only need to do it for libuv, but there are lots of other useful C libraries (leveldb and libsodium are the first I'll be needing)

What sort of approaches can be made so those bindings are generic,
that it doesn't matter if I use jerryscript but the author of a binary lib that I use uses duktape?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions