C#或VB.NET - 不是exaclty相同的性能 [英] C# or VB.NET - not exaclty the same performance

查看:82
本文介绍了C#或VB.NET - 不是exaclty相同的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

MS还是有人还声称C#和VB.NET生成完全相同的IL

代码?

http://www.osnews.com/story.php?news_id=5602&page=3

解决方案

嗨丹尼尔,


当您搜索新闻组vb.language时,您会发现某人(不是(b $ b $常规)谁分析了这个测试。


我曾经和一家自行车公司合作过,唯一不同的是

自行车是自行车上的名字。他们经过测试,结果与您在参考的测试中看到的结果相同。


他们测试的可能是一个上坡,另一个下坡。


Cor

MS或任何人仍然声称C#和VB.NET生成完全相同的IL
代码?



我想知道Visual C ++基准测试是针对非托管C ++(普通

Win32可执行文件)还是针对C ++托管扩展(托管应用程序)执行的$ CL $ b托管在CLR中)?


-

Dmitriy Lapshin [C#/ .NET MVP]

X- Unity Test Studio
http://x-unity.miik .com.ua / teststudio.aspx

将单元测试的强大功能带到VS .NET IDE


Daniel P. <哒****** @ hotmail.comU>写在消息

新闻:eq ************** @ TK2MSFTNGP12.phx.gbl ...

MS或任何人仍然声称C#和VB.NET生成完全相同的IL
代码?

http://www.osnews.com/story.php?news_id=5602&page=3




Daniel,


我不相信有人曾声称VB和C#产生了

完全相同的IL。如果他们这样做了,那么他们就会被误导,因为工具

肯定会产生不同的IL。

-

- Nicholas Paldino [.NET / C#MVP]

- mv*@spam.guard.caspershouse.com


Daniel P. <哒****** @ hotmail.comU>写在消息

新闻:eq ************** @ TK2MSFTNGP12.phx.gbl ...

MS或任何人仍然声称C#和VB.NET生成完全相同的IL
代码?

http://www.osnews.com/story.php?news_id=5602&page=3



MS or anyone still claims that C# and VB.NET generate the exact same IL
code?

http://www.osnews.com/story.php?news_id=5602&page=3

解决方案

Hi Daniel,

When you search the newsgroup vb.language than you will find someone (not a
regular) who has analysed the test.

I once was working with a bicycle company and the only difference on the
bicycles was the names on the bicycles. They where tested, same results as
you see in this test you are refering to.

They tested probably one uphill and the other downhill.

Cor

MS or anyone still claims that C# and VB.NET generate the exact same IL
code?



I wonder was the Visual C++ benchmark performed for unmanaged C++ (plain
Win32 executable) or for Managed Extensions for C++ (managed application
hosted in CLR) ?

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Daniel P." <da******@hotmail.comU> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...

MS or anyone still claims that C# and VB.NET generate the exact same IL
code?

http://www.osnews.com/story.php?news_id=5602&page=3




Daniel,

I don''t believe that anyone ever made the claim that VB and C# produce
exactly the same IL. If they did, then they were misinformed, as the tools
definitely will produce different IL.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Daniel P." <da******@hotmail.comU> wrote in message
news:eq**************@TK2MSFTNGP12.phx.gbl...

MS or anyone still claims that C# and VB.NET generate the exact same IL
code?

http://www.osnews.com/story.php?news_id=5602&page=3



这篇关于C#或VB.NET - 不是exaclty相同的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆