New Base Class Library Features Will be Demonstrated on CodePlex

| by Jonathan Allen Follow 576 Followers on Apr 07, 2010. Estimated reading time: 1 minute |

The Base Class Library is the core of the CLR platform. It doesn’t matter if you are using .NET, Silverlight, or Mono, nor does it matter if you are a rich client or a web developer, if you are using the CLR then you are using the Base Class Library. So of course changes to the BCL are of particular importance to developers across the spectrum.

In order to be more transparent and to get feedback earlier in the development process, the Microsoft’s BCL team is previewing new classes on CodePlex. Here developers can try them out and, because it is open source, alter the classes for further experimentation.

The first class offered is BigRational. Based on a pair of BigIntegers, this allows you to store any rational number exactly. Because it stores the numerator and denominator separately, even fractions that cannot normally be stored exactly like 1/3 are supported.

Next up is LongPathDirectory and LongPathFile, which allows you to use up to 32,000 characters in the file path without the prefix “\\?\”. The inclusion of this is rather questionable for a number of reasons. First of all, it is a very Windows-specific feature in a time when the CLR is finding its way onto most platforms. Then there is the underlying question about compatibility. Most APIs and applications on the Windows platform are not long-path aware, making using long paths incredibly risky. You can learn more about some of the risks associated with Long Paths in .NET on the BCL blog. Finally, if Microsoft ever makes the necessary changes to the underlying Win32 API then these classes become unnecessary.

Finally, there is a library and matching command line application for working with Event Tracing for Windows. The library includes both low-level APIs for parsing raw event streams and a high-level object model for analysis.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

An elegant idea but a bit late? by Mark Levison

Its great to see this from MS but aren't they a bit late to the party? Java for all its failings has been alot more open with the JCP for years. In addition it will be interesting to see how much attention they pay to feedback they receive.

Sadly the unit tests don't seem to be included.

Mark Levison
Agile Pain Relief Consulting

Better late than never! by Charles Cherry


Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you