-
-
Notifications
You must be signed in to change notification settings - Fork 177
Can we reuse binding.cc code in e.g. rocksdb? #570
Comments
By glue code, do you mean the JS, Would it still be possible to add RocksDB-specific options (Level/rocksdb#13)? |
Aah sorry this was a bit unclear. I primarily meant the
Good question. We might need to do some tweaks to the binding code. |
I don't know how to achieve this, taking the differences (Level/rocksdb#100 (comment)) into account. What I can do, is copy Namespace aliases ( |
Closing for now; if anyone has ideas to tackle this they're welcome. Until then, the situation is not that bad. It's just a matter of keeping |
It would be nice if we could re-use the glue code for e.g.
rocksdb
so it could be based on napi as well,leveldownmiddle
? 😁At least spend some time thinking about this. In theory it should be possible to extract the glue code into a separate module, given that the underlying store exposes the same api.
The text was updated successfully, but these errors were encountered: