Skip to content

Compiling for DFINITY #7

Open
Open
@skilesare

Description

@skilesare

I stumbled upon this project while trying to find a solution to run javascirpt on DFINITY(dfinity.org). To do so I need a wasm module that I can define a .did file for. Given these two things I should be able to run C code in a dfinity canister. I've successfully accomplished this using the example at https://github.com/skilesare/examples/tree/master/c/reverse.

I'd love to get either duktape or quickjs running. All I really need is the ability to submit some code and have it evaluated. I guess I also need to keep track of the current context I'm running in as well. Theoretically dfinity has orthogonal persistance so once the context is up and running it should stay that way. It might be a fun project and I'd love to at least get some pointers on where to start. I know very little about c and haven't compiled anything significant in it in about 25 years so some hand holding would be required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions