C#比C ++慢多少? TIA Roy
推荐答案" Roy Gourgi" < RO *** @ videotron.ca>在消息中写道 新闻:4X ******************* @ wagner.videotron ... "Roy Gourgi" <ro***@videotron.ca> wrote in message news:4X*******************@wagner.videotron... C#比C ++慢多少? Hi, How much is C# slower than C++?
取决于你在做什么。没有任何内在的原因让它变得更慢 。 MSIL在执行之前被编译成本机代码。
Depends on what you''re doing. There no inherent reason for it to be slower at all. MSIL is compiled into native machine code before it executes.
Michael A. Covington写道: Michael A. Covington wrote: Roy Gourgi < RO *** @ videotron.ca>在消息中写道新闻:4X ******************* @ wagner.videotron ... "Roy Gourgi" <ro***@videotron.ca> wrote in message news:4X*******************@wagner.videotron... C#比C ++慢多少? Hi,How much is C# slower than C++?
取决于你在做什么。根本没有内在的理由让它变得更慢。 MSIL在执行之前被编译成本机代码。
Depends on what you''re doing. There no inherent reason for it to be slower at all. MSIL is compiled into native machine code before it executes.
编译使用JIT(即时)编译器进行编译,并且 这增加了执行的时间。它明显变慢了。 虽然慢多少取决于你在做什么。有些人争论得快一半,有些人争论速度快1/4。对于大多数应用来说,它将比足够快得多。
That compilation takes place with a JIT (Just In Time) compiler, and this adds time to the execution. It is noticeably slower. How much slower though, depends on what you''re doing. Some argue half as fast, some argue 1/4 as fast. For most applications it will be more than fast enough.
" jeremiah johnson" < NA ******* @ gmail>在消息中写道 news:uX ************* @ TK2MSFTNGP10.phx.gbl ... "jeremiah johnson" <na*******@gmail> wrote in message news:uX*************@TK2MSFTNGP10.phx.gbl... Michael A. Covington写道: Michael A. Covington wrote: " Roy Gourgi" < RO *** @ videotron.ca>在消息中写道新闻:4X ******************* @ wagner.videotron ... "Roy Gourgi" <ro***@videotron.ca> wrote in message news:4X*******************@wagner.videotron... C#比C ++慢多少? Hi,How much is C# slower than C++?
取决于你在做什么。没有任何内在的原因让它变得更慢。 MSIL在执行之前被编译为本机机器代码。
Depends on what you''re doing. There no inherent reason for it to be slower at all. MSIL is compiled into native machine code before it executes.
编译使用JIT(即时)编译器进行编译,这样就增加了时间执行。它明显变慢。
That compilation takes place with a JIT (Just In Time) compiler, and this adds time to the execution. It is noticeably slower.
只有第一次通过方法。循环 - 这是耗时的部分 - 在第一次迭代后全速运行。
Only the first time through a method. Loops - which are the time-consuming part - run at full speed after the first iteration.
更多推荐
C#比C ++慢多少?
发布评论