3 ms·
> I'm working in Rust, not Zig, but a lot of nice stuff to read through here. FYI, Datadog has a Rust library for scheduling things to run thread-per-core with
by gavinray 4y ago
> I'm working in Rust, not Zig, but a lot of nice stuff to read through here.
FYI, Datadog has a Rust library for scheduling things to run thread-per-core with io_uring
It'd be really useful for DB use cases:
https://github.com/DataDog/glommio https://github.com/DataDog/glommio
- cmrdporcupine 4y agoNifty. I started from the part of the Umbra presentation that initially struck me as most interesting -- the allocator portion (where he talks about repeatedly MMAP_ANONYMOUS on the same address range to reduce fragmentation, etc.) I stopped working when I started pondering the bits about pointer swizzling and how I'd make that work nicely in Rust, and never got as far as the pieces that would actually do the syncs to disk. I also came across another fellow who was inspired by the optimistic locking btree presented in LeanStore Umbra: https://github.com/NeowayLabs/bplustree https://github.com/NeowayLabs/bplustree