This post originated from an RSS feed registered with .NET Buzz
by Darrell Norton.
Original Post: What's new in the .NET Framework
Feed Title: Darrell Norton's Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/darrell.norton/Rss.aspx
Feed Description: Agile Software Development: Scrum, XP, et al with .NET
The default MSIL-only compile option works on both 32 and 64 bit natively. If you are doing COM Interop or using PInvoke, then you need to make sure you run in the same âbitnessâ as the component does. You can change the options in either Visual Studio or via the command line.
Performance
Long-term goal is to get performance of managed code equal to that of unmanaged code.
Short-term goals for version 2 of the Framework were to reduce startup time and reduce the working set. Rico Mariani said that âspace is speedâ, so reduce the working set (the amount of memory that is used by a managed application) means it will run faster.
To improve startup time, the CLR team spent a good bit of time improving NGen. To reduce the working set, the team increased the amount of shareable working set, or non-private memory, from 40 percent in 1.1 to 90 percent in 2.0.
Interface/delegate invocation is 2x faster.
Simple inter-app domain remoting is 200x faster.
UTF8 Encoding is 2.5x faster.
Lots of reflection performance improvements, including true lazy load on the GetMethod(string) method and lightweight codegen (generating only the essential code).
Generics
Itâs a CLR feature, so all .NET languages can support it if they want to. Itâs available in both VB and C# right now.
Security
Managed ACL support! New classes have been added to the .NET Framework that allow managed code to create and modify an ACL. New members that use an ACL have been added to the I/O, registry, and threading classes.
In Visual Studio 2005 â developers can test the running of their application within a certain zone (the Internet or the Intranet zone).
Out-of-Band
Rotor â version 2 with most features will come out 3-6 months after Whidbey releases, so if Nov. 7 for Whidbey holds, weâre looking at Feb â May 2006.
IronPython â Microsoft implementation of the dynamic language Python built on .NET Beta 2.You already know Iâm all about Python, and IronPython is even better!