arangodb / velocypack

A fast and compact format for serialization and storage
Other
419 stars 40 forks source link

VPack as block storage for SQlite #99

Open dumblob opened 3 years ago

dumblob commented 3 years ago

Just curious - has anyone tried on some project using VelocyPack as the backend storage for SQlite? Any benchmarks or experience or lessons learned?

dothebart commented 3 years ago

Interesting Idea. No, we haven't heard of somebody doing this. One implementation problem could be, that you need a C interface if I grasp this correctly? Sqlite is pure C if I get this right? VPack otoh is implemented in C++.

dumblob commented 3 years ago

One implementation problem could be, that you need a C interface if I grasp this correctly? Sqlite is pure C if I get this right? VPack otoh is implemented in C++.

Yes, SQlite is pure C and VPack is C++. But I somehow assumed the C++ implementation offers also a C interface. If it's not the case, then I'm pretty sure nobody used VPack as SQlite backend because that'd be much more work than "just plumbing".