turbofish-org / merk

High-performance Merkle key/value store
Apache License 2.0
226 stars 36 forks source link

WebAssembly implementation #6

Closed mappum closed 5 years ago

mappum commented 6 years ago

This module can be easily optimized by porting performance-critical components (e.g. the tree operations) to a language that compiles to wasm (likely Rust). Also probably makes this module less prone to critical vulnerabilities since it's hard to reduce the complexity of this code and it pushes JS to its limits.

mappum commented 5 years ago

Closing since this was rewritten in Rust.

okpatil4u commented 2 years ago

Sorry @mappum, but does that mean that it could be compiled in WASM ?

mappum commented 2 years ago

Theoretically it could be, but RocksDB would need to be replaced by a different storage solution (e.g. IndexedDB).

okpatil4u commented 2 years ago

Yes, thank you !