Skip to content

A way to wrap in modules would be the final cherry on top. #34

Description

@Vizonex

I'm currently thinking about making it possible to wrap in C Extension modules or possibly python extension modules however the python one seems unlikely seeing how there is no way to go about adding in *void objects to safely wrap between python and quickjs just yet. I've only managed to get Python Classes to work but with some sneaky hacking involved. But perhaps a new milestone is needed in order to encourage it's completion or addition in the long run. Quickjs-ng is small and if hacks or workarounds are needed we could implement them in just know it's going to be a while due to my crazy 8 hour a day work schedule that eats parts of my weeks up making it hard to visit this project at different times of the day. Quick-js does feature similar dunder methods to python so there is a chance of getting those features in-place although very unlikely.

The best alternate workaround I can think of would be to include a CPython Capsule for users who want to utilize their own dlls for C Extensions. Python Extensions are still a pipedream due to the unfortunate side effects from having only one *void pointer and not multiple.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions