Skip to content

your advice/opinions on integrating with grpc? #113

@Laeeth

Description

@Laeeth

Hi.

I'm thinking about writing a dlang wrapper for grpc - starting with bindings to Juniper's grpc-c (the C API of grpc is a bit uneven), then a simple wrapper on top, with code generation coming next. There is a grpc plugin to dprotoc that generates rpc code on client and server for you.

Context is that it seems a more generally useful answer to problem of moving things to microservices in a cross-language environment. So I can write clients once with a small amount of auto-generated code on top.

Any thoughts on best way to integrate your work with this? I haven't yet looked properly, but I think for rpc your code generates an interface but I would then need to introspect on this to pass details of methods to RPC server code and write some glue that would actually translate callback into something nicer to use from D. And just glue code on client.

I would love to hear any thoughts.

Laeeth.

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