3 ms·
Another high performance service in Go that will need to rewrite everything to avoid the GC but not without blogging about it first.
by anacrolix 3y ago
Another high performance service in Go that will need to rewrite everything to avoid the GC but not without blogging about it first.
- grip7010 3y agoIt’s written in Rust, with thin clients in Java and Go (and Python soon). So we avoid GC problems - other than the strings/bytes that Java and Go manage to interact with the foreign function interface
- anacrolix 3y agoSorry, just noticed that. Very good. Where is the FFI, I'd like to see how you do that and whether you go through C. I couldn't find it easily. Duh, I don't know how I missed it https://github.com/inlinedio/ikv-store/tree/master/ikv/src/ffi https://github.com/inlinedio/ikv-store/tree/master/ikv/src/f...
- grip7010 3y agohttps://github.com/inlinedio/ikv-store/tree/master/ikv/src/ffi https://github.com/inlinedio/ikv-store/tree/master/ikv/src/f... Yup, it has JNI and C FFI