Can the LMAX Disruptor be ported to C#?

℡╲_俬逩灬. 提交于 2019-12-22 09:19:56

问题


I know some people are working on a C++ port.

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?

Thank you in advance.


回答1:


It already has been ported to C#: http://code.google.com/p/disruptor-net/



来源:https://stackoverflow.com/questions/8097372/can-the-lmax-disruptor-be-ported-to-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!