An Interview with Microsoft's New Visual C ++ Architect Stanley Lippman

zhaozj2021-02-17  49

Stanley Lippman has a long history with the C language and the C community in general. He was one of the first users and implementers of C , he worked under Bjarne Stroustrup at the Bell Laboratories Foundation Project, was the principal software engineer at Walt Disney Feature Animation and Has Written a Number Popular Titles Such as The C Primer.

Stanley recently joined Microsoft as the Architect for Visual C so I caught up with him to have a chat on what he sees as the past, present and future of Visual C , and what his own personal goals are for Visual C . First and foremost my aim was to provide a definitive answer as to what's in store for us C developers. Many of us are wondering whether or not our skillset will remain valuable in a .NET world. Will C be relegated to win32 development? Will Microsoft make good on it's PROMISE TO PURSUE C Compliance?

It's important to remember that Stanley is the architect for the Visual C language - and new to the job -. And so libraries such as MFC, ATL, WTL, and tool such as Visual Studio are outside Stanley's role sphere of influence and experience The interview ThereFor Concentrated On The Questions That Most Developers Have Been Asking: What Is The Future of Visual C .

Firstly I asked Stan What It Was That Attracted Him To Work for Microsoft.

Stanley's background is in Unix, and he's developed against many different platforms. Obviously some platforms are easier than others. When it came to .NET Stanley absolutely loved the concepts behind it. "The framework is amazing, rich and interesting." Stanley has worked on platforms where even simple concepts such as threading are intensely painful to get working, so having a comprehensive Base Class Library that provides you with such things as a comprehensive threading model that can be accessed using any .NET language of your choice is very important. stanley initially had only limited notions of where Visual C fitted into the .NET picture, but once he investigated further he was pleasantly surprised when he realized that C was not left out of .NET, but was in fact a first class .NET language.

So What Do you see the Future of Visual C , and as the new architect what are your goals?

Stanley is very clear on the future:. "I believe Visual C has a prosperous future" He has met the Visual C team and says they have undeniable enthusiasm and energy His goal is very simple:. "I want Visual C to be the C Implementation of choice ". Stanley's Personal Goal Is To Have C Developers Choose Visual C NOT Only Because of the Tools and Platform, But Because It's The Premier Implementation of The C Standard.

Compiler Compliance

In terms of C compliance Stanley admits that the latest release (Visual C 7.0) is not quite there, but the substantial work that has been carried out on the underlying implementation means that moving towards a more comprehensively compliant implementation is within reach. He ' ll be pushing forward with compliance especially in the area of ​​templates.Even though Visual C 7.0 does not have the full range of features that Stanley would like to see implemented, he says it is still by far the most compliant implementation of C that Microsoft have released. It's not 100% perfect, but it's still an excellent compiler with high compliance to the standards. Areas that still have issues are fully documented in the VS.NET documentation in the article titled "Standard Compliance Issues in Visual C ".

Microsoft's goal is to have a 'competitively compliant' compiler -. Meaning it will not be 100% compliant There are a couple of features of the ANSI / ISO standard (for instance the 'export' keyword as applied to template classes) that won 't be implemented because they are considered by Microsoft to be obscure and, at this stage, theoretical. Microsoft is however working to ensure that Visual C will compile the most popular libraries such as Boost, Blitz, Loki and a fully compliant version of STL ......................

Nick Hodapp, Microsoft's C Product Manager also added that while high compliance is definitely a very important goal Microsoft will not sacrifice code-generation quality or robustness at the cost of extreme compliance. However in recent lab tests they are still beating several popular compilers on conformance TESTS.WHEN WILL WE SEE THE NEXT VERSION?

Stanley laughs and says if it were up to him he'd email out updates each week, but there are pesky things like quality control and processes that must be adhered to in anything as complex as Visual C . With the latest version to be released around February 2002 he would like to see an update for the compiler late the same year, but is unsure as to whether that is possible. He'll certainly be fighting for an early update. Nick Hodapp backs this up by saying that it's extremely likely that An Update To VC7 Will Be Available Next Year. Microsoft Are Investigating The Best Mechanism To Release A Compiler Refresh Next Year That Would Focus on Compliance Features.

Many C Developers Feel That Microsoft Is Relegating Visual C To The Sideline in Favor of The Newer Languages ​​Such as C #.

Stanley wants C to be far more a part of .NET than it is currently. At the moment the biggest benefit of managed C is as a transitional language. You are able to move your native apps into the .NET framework or consume .NET components WITHIN YOTIVE Applications, But it's not quite the language of choice for development full management application.

For the pending release of Visual C .NET (VC7) Microsoft focused on enabling interop features. VC7 has the best interop scenarios of all the managed languages ​​and includes the ability to have both managed and unmanaged code in the same image. They also focused on enabling optimization technology on the generated MSIL - the result is that VC7 is the only compiler to generate optimized MSIL In future releases Microsoft will focus on ANSI / ISO conformance (enabling many more features for both managed / unmanaged code), as well as features. that will give Visual C feature parity with C # - WinForms, for example Visual C will be positioned as the power-systems language for .NET.Template support and generic programming are a must and Microsoft are very keen to implement codeDOM support, both for. ASP.NET and WINFORMS. WITH THESE ADDED FEATURES STANLEY SEES VISUAL C As Being The Power Program WANGUAGE OF Choice for the .NET Framework - To Compliment It's Current Role As The Langua ge of choice in unmanaged development. Even without the template support that is currently being pursued Stanley sees Visual C as the only language suitable for those who need more than C # or VB.NET can offer.

Stanley went on to congratulate Microsoft for shifting away from being corporate oriented and moving towards being a more developer-centric organization. To this end he will be pushing even more to open up the company to developers and would like to see Microsoft to be even more responsive to the developer community. Microsoft is renowned for pushing ahead with innovation but there can be dangers in moving too far head of not only standards, but also developer's needs. Stanley will be pushing to ensure that Microsoft listens more to what the developer community has TO Say While Enssuring Higher Standards Compliance.new Features Such As Those In The C99 Specification

On the topic of extending Visual C to embrace the new features found in the C99 specification Stanley stated that these are issues for the relevant Standards bodies. There is growing concern that a rift is developing between C and C , with C no longer being a superset of the former. Microsoft's aim is to have the most standards compliant implementation so if the C standard is updated to include new features then Microsoft will work towards implementing them in Visual C .

Microsoft's Approach to Add New Features IS WHETER THOSE FEATURES ARE

Being used in code That other compilers can build, or WHether Those Features Are Compelling Enough That It Becomes Apparent That Their Customers Want THEM.

Microsoft Will NOT SIMPLEMENT FEATURES BECAUSE The isy for Will Implement Theim When People Want Theme Because They is beneficial.

The message for us?

The message is that Visual C is definitely alive and kicking and has a very bright future in the .NET world Stanley's aim is to have the compiler at a point where it's the benchmark against which all other compilers are compared -. In terms of simplicity, fun factor and conformance. It should be easy to use, versatile, enjoyable, and it should be what developers think of whenever they think C . Continuing improvements in C compliance along with future support for ASP.NET and WinForms will ensure that Visual C be the power language for .NET and for native development.As to the question of whether developers will move to C # instead of managed C Stanley thinks there will be more of a move from VB to C # than C to C #. C is the better, more Versatile and the only Optimised Compiler Available In .Net.

转载请注明原文地址:https://www.9cbs.com/read-29030.html

New Post(0)