2 ms·
C/C++/Rust - will not solve anything magically. Anyway you will need to implement some kind of memory management for DB. Go GC creates problems and they are no
by Ingaz 4y ago
C/C++/Rust - will not solve anything magically. Anyway you will need to implement some kind of memory management for DB.
Go GC creates problems and they are non-trivial (as all memory management) but it's not so twisted as in JVM.
Examples:
- DGraph: migrated from RocksDB (C++) to Badger (pure go, developed themselves, based on jemalloc)
- CocroachDB - pure go for storage engine
- go 1.20 proposed feature: package `arena` for region-based memory management