可以在LMAX干扰器移植到C#? [英] Can the LMAX Disruptor be ported to C#?
问题描述
我知道有些人是一个C ++端口上的工作。
I know some people are working on a C++ port.
是一个C#端口可能吗?特别是我想围绕波动的字段是在C#中只有32位的限制。如果这是唯一的问题,是否任何认为值得写环形缓冲区只允许有32位插槽的数量。这是在系统的寿命很多很多的事件会较少。难道我有这个权利?我们可以在某些时候转回到0?
Is a C# port possible? In particular I'm thinking about the limitations around volatile fields being only 32-bit in C#. If that's the only problem, does anything think it worthwhile to write that ring buffer to only have the number of slots allowed in 32-bits. That's many many fewer events in the lifetime of the system. Do I have this right? Can we wrap back to 0 at some point?
感谢您提前。
推荐答案
它已经被移植到C#: http://code.google.com/p/disruptor-净/
It already has been ported to C#: http://code.google.com/p/disruptor-net/
这篇关于可以在LMAX干扰器移植到C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!