所有.NET语言都不再相同。 [英] All .NET Languages are no longer equal.

查看:117
本文介绍了所有.NET语言都不再相同。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想象一下。到目前为止,党的路线是.NET语言

产生了几乎相似的MSIL。使用Visual Studio 2005,C ++现在是最优化的
。参考。 MSDN Magazine 2005年1月。


C ++优化现在适用于托管代码。

1)JIT和编译器优化交互

2)常见的子表达式消除和代数简化。

3)整个程序优化

4)64 NGEN优化

5)双重消除

6)互操作优化

7)具有堆栈语义的类实例


现在我只需要获取Visual Studio 2005的副本< g>


问候,

Jeff


***通过Developersdex发送 http://www.developersdex.com ***

不要只是参加USENET ...获得奖励!

Imagine that. Up to now the party line was that the .NET languages
produced pretty much similar MSIL. With Visual Studio 2005, C++ is now
the most optimized. Ref. MSDN Magazine Jan 2005.

C++ optimizations now apply to managed code.
1) JIT and Compiler Optimization interaction
2) Common subexpression elimination and algebraic simplification.
3) Whole program optimization
4) 64 NGEN Optimization
5) Double thunk elimination
6) Interop optimization
7) Class instances with stack semantics

Now I just need to get my hands on a copy of Visual Studio 2005 <g>

Regards,
Jeff

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!

推荐答案

Jeff Louie< je ******** @ yahoo.com>写道:
Jeff Louie <je********@yahoo.com> wrote:
想象一下。到目前为止,党的路线是.NET语言产生了非常相似的MSIL。使用Visual Studio 2005,C ++现在是最优化的。参考。 MSDN Magazine 2005年1月。
Imagine that. Up to now the party line was that the .NET languages
produced pretty much similar MSIL. With Visual Studio 2005, C++ is now
the most optimized. Ref. MSDN Magazine Jan 2005.




不,之前的情况也是如此。 C ++编译器总是比C#和VB.NET编译器完成更多优化。

这有多大有用,取决于确切的代码 - JIT在哪里

大部分真正重要的优化可能会发生,但是偶尔C ++编译器可以比C#编译器做得更好。


通常当人们谈论生成类似的IL时,他们正在谈论关于C#vs VB.NET的



-

Jon Skeet - < sk *** @ pobox.com>
http://www.pobox.com/~skeet

如果回复小组,请不要给我发邮件



No, that''s been the case before now as well. The C++ compiler has
always done much more optimisation than the C# and VB.NET compilers.
Just how useful that is depends on the exact code - the JIT is where
most of the really important optimisation is likely to occur, but
occasionally the C++ compiler can do much better than the C# compiler.

Usually when people talk about producing similar IL, they''re talking
about C# vs VB.NET.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too




" Jeff Louie" < JE ******** @ yahoo.com>在消息中写道

新闻:OQ ************** @ TK2MSFTNGP11.phx.gbl ...

"Jeff Louie" <je********@yahoo.com> wrote in message
news:OQ**************@TK2MSFTNGP11.phx.gbl...
想象一下。到目前为止,党的路线是.NET语言产生了非常相似的MSIL。使用Visual Studio 2005,C ++现在是最优化的。参考。 MSDN Magazine 2005年1月。

C ++优化现在适用于托管代码。
1)JIT和编译器优化交互
2)常见的子表达式消除和代数简化。
3 )整个程序优化
4)64 NGEN优化
5)双重消除
6)互操作优化7)具有堆栈语义的类实例
Imagine that. Up to now the party line was that the .NET languages
produced pretty much similar MSIL. With Visual Studio 2005, C++ is now
the most optimized. Ref. MSDN Magazine Jan 2005.

C++ optimizations now apply to managed code.
1) JIT and Compiler Optimization interaction
2) Common subexpression elimination and algebraic simplification.
3) Whole program optimization
4) 64 NGEN Optimization
5) Double thunk elimination
6) Interop optimization
7) Class instances with stack semantics




太糟糕了,所有都需要C ++。拥有一个漂亮的优化器

并且同时使用一种漂亮的语言不是很好吗?



Too bad that all requires C++. Wouldn''t it be nice to have a nice optimizer
and a nice language at the same time?


Daniel ...有毫无疑问,C ++可能是一门难懂的语言,但是熟悉C ++中的STL的程序员现在可以使用STL编写托管代码



问候,

Jeff
Daniel... There is no question that C++ can be a difficult language, but
programmers familiar with the STL in C++ can now write managed code
using the STL.

Regards,
Jeff
太糟糕了,所有人都需要C ++。拥有一个漂亮的
Too bad that all requires C++. Wouldn''t it be nice to have a nice



优化器和一个好的语言同时不是很好吗?<


***通过开发人员指南 http://www.developersdex.com 发送***

不要只是参加USENET ......获得奖励!


optimizer and a nice language at the same time?<

*** Sent via Developersdex http://www.developersdex.com ***
Don''t just participate in USENET...get rewarded for it!


这篇关于所有.NET语言都不再相同。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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