It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center
                            
                        
                    
                
                                已关闭8年。
            
                    
我想使用C或C ++进行市场行情数据的硬实时处理。使用这两种语言时,是否有任何特殊的考虑要考虑?如标题或不该做什么?

问候

最佳答案

不要使用动态内存分配(malloc / free),因为您无法预测这将花费多少时间。不要使用关键部分(原因相同),如有必要,请使用无锁算法。

关于c++ - 实时C编程示例,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/5818036/

10-13 08:18
查看更多