3 ms·
See also the Java LMAX Disruptor https://github.com/LMAX-Exchange/disruptor https://github.com/LMAX-Exchange/disruptor I've built a similar lock-free ring buff
by fritzo 3y ago
See also the Java LMAX Disruptor https://github.com/LMAX-Exchange/disruptor https://github.com/LMAX-Exchange/disruptor
I've built a similar lock-free ring buffer in C++11 https://github.com/posterior/loom/blob/master/doc/adapting.md https://github.com/posterior/loom/blob/master/doc/adapting.m...
- GenericCanadian 3y agoI also wrote an LMAX Disruptor in Crystal: https://github.com/nolantait/disruptor.cr https://github.com/nolantait/disruptor.cr Here is one in Ruby: https://github.com/ileitch/disruptor https://github.com/ileitch/disruptor Both languages are quite readable and I've used these to teach the concepts to beginners.