Performance of C++ vs Virtual Machine languages in high frequency finance

前端 未结 15 1913
死守一世寂寞
死守一世寂寞 2020-12-12 13:34

I thought the C/C++ vs C#/Java performance question was well trodden, meaning that I\'d read enough evidence to suggest that the VM languages are not necessarily any slower

15条回答
  •  旧时难觅i
    2020-12-12 13:57

    Virtual Execution Engines (JVM or CLR of .Net) do not permit structuring the work in time-efficient way, as process instances cannot run on as many threads as might be needed.

    In contrast, plain C++ enables execution of parallel algorithms and construction of objects outside the time-critical execution paths. That’s pretty much everything – simple and elegant. Plus, with C++ you pay only for what you use.

提交回复
热议问题