5 ms·
I gotta say, I looked through some files. I wish my code was this clean. its some of the prettiest c++ I've ever seen
by cultofmetatron 4y ago
I gotta say, I looked through some files. I wish my code was this clean. its some of the prettiest c++ I've ever seen
- romange 4y agoomg, can I marry you?
- romange 4y agobtw, it's not just pretty - it has brains too. take it for a spin.
- cultofmetatron 4y agois there an elixir client library?
- ukd1 4y agoI presume you just use a memcache or redis client? So yes?
- pierrebai 4y agoI dunno... I took a look at a single file and found: static constexpr unsigned NUM_SLOTS = Policy::kSlotNum; static constexpr unsigned BUCKET_CNT = Policy::kBucketNum; static constexpr unsigned STASH_BUCKET_NUM = Policy::kStashBucketNum; NUM_, _CNT, _NUM, three different prefix/suffix for what seems to me like the same concept. That just tickled my inner nit-picker.
- ignoramous 4y agoWhen Jens Axboe praises you for your work [0], then it is a given you're at the top of your game. [0] https://twitter.com/axboe/status/1531371740403617792 https://twitter.com/axboe/status/1531371740403617792
- romange 4y agoIndeed :) The moment i learned about io_uring I got hooked up immediately. People like Jens, Pavel are the type of innovators that make sure Linux stays on top of its game for the next generations.