Skip to content

Implementation experience in Rust #174

Open
@rustaceanrob

Description

@rustaceanrob

Raising an issue here to discuss my initial pass using the IPC interface in a foreign language. I built a simple proof of concept that fetches a block template from a Rust program. I had to make a couple of modifications to the capnp files. First being to remove any reference to C headers within the capnp files. I am wondering if anything may be done here to remain language agnostic? Also, using the Proxy interface requires an mp namespace, and within the Rust project it made more sense to include this at the top level group of capnp files, since any references to C headers were removed anyway.

This was my first pass at using capnp, so I understand this issue may be vague. However I think it is useful to see how one might use IPC in a foreign language and what may be done to accommodate that use-case.

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