Zig NEWS

x19
x19

Posted on

High Performance HashMap + Disk-based Allocator

while working on our project Sig (https://github.com/Syndica/sig), we’ve come across a few interesting examples that we think showcases the power of Zig:

  • a high-performance HashMap impl (we found stdlib was slow on writes)
  • speed improvements on indexing data (how to populate hashmaps fast)
  • and a custom disk-based allocator (when theres too much data to fit into ram)

thought i would share if anyone else is interested :)

https://blog.syndica.io/sig-engineering-part-2-accountsdb-more/

were also actively hiring talented zig/rust/c developers, so if you find this stuff interesting - please apply here: https://jobs.ashbyhq.com/syndica/15ab4e32-0f32-41a0-b8b0-16b6518158e9

Top comments (1)

Collapse
 
liyu1981 profile image
LI Yu

Thanks for sharing this. I read the blog as well as browsing the repo, seems there lots of useful implementation can be reused later. (thanks to the great readability provided by zig :))