attic-labs / noms

The versioned, forkable, syncable database
Apache License 2.0
7.44k stars 266 forks source link

C bindings #2718

Open aboodman opened 7 years ago

aboodman commented 7 years ago

In order to provide bindings to many different languages (e.g., #2253), we'll need a complete C bindings layer.

Right now, the C bindings generated by cgo are incomplete because we rely on types that cgo can't handle.

I think that we need to add some simplified API to Noms (perhaps that our current Go API is built on top of) which cgo can handle completely. Then other bindings could be written on top of that.

arv commented 7 years ago

@rafael-atticlabs

We talked about this in the past. It would also be interesting to see how this could work with wasm/asmjs.