LMAX Disruptor 可以移植到 C# 吗?
我知道有些人正在开发 C++ 移植。
C# 端口可以吗?我特别考虑到 C# 中易失性字段仅是 32 位的限制。如果这是唯一的问题,是否有人认为值得将该环形缓冲区写入仅具有 32 位允许的插槽数量。系统生命周期中发生的事件要少得多。我有这个权利吗?我们可以在某个时候回滚到 0 吗?
先感谢您。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它已被移植到 C#:http://code.google.com/p/disruptor-网/
It already has been ported to C#: http://code.google.com/p/disruptor-net/