neuropod icon indicating copy to clipboard operation
neuropod copied to clipboard

Add a C API to Neuropod

Open vkuzmin-uber opened this issue 4 years ago • 2 comments

Feature

C API

We don't expect that somebody is using C API directly. This will be used by future CGo API mostly.

Connected to https://github.com/uber/neuropod/issues/294

Describe the solution you'd like

Design is inspired by the TensorFlow C API and Uber CGO package that includes Bridge C/C++ bridge. Namely: Internal C Headers Public C Headers C/C++ implementation of public and internal headers.

vkuzmin-uber avatar Aug 06 '20 18:08 vkuzmin-uber

We don't expect that somebody is using C API directly. This will be used by future CGo API mostly.

I don't think this is accurate. We should build this API in a way where it provides a robust easy-to-use interface to use Neuropod from C (independent of the Go API)

VivekPanyam avatar Aug 06 '20 18:08 VivekPanyam

We don't expect that somebody is using C API directly. This will be used by future CGo API mostly.

I don't think this is accurate. We should build this API in a way where it provides a robust easy-to-use interface to use Neuropod from C (independent of the Go API)

Agree, just wanted to highlight that CGO is going to be a first user really, not only.

vkuzmin-uber avatar Aug 06 '20 18:08 vkuzmin-uber