Stan Lippman's BLog

C++/CLI

The String Literal Returns

In the last entry, I celebrated what I felt was an elegant solution to the problem of the string...

Author: slippman Date: 12/08/2004

The Type of a String Literal Revisited ...

In the course of these entries, I have twice addressed the issue of the type of a string literal...

Author: slippman Date: 12/04/2004

A Primer on the Interior Pointer

A value type is typically not subject to garbage collection except in two cases: (a) when it is the...

Author: slippman Date: 08/27/2004

Translation Guide between Managed Extensions and the new C++/CLI binding Available

C and C++ programmers are notorious for relying on pointer indirection, and it seems blog entries...

Author: slippman Date: 08/21/2004

An Tour of the STL.NET

Part of the (reasonably pleasant) distractions from posting on this blog recently has been working...

Author: slippman Date: 08/14/2004

Why C++ Supports both Class and Typename for Type Parameters

Recently, someone asked me why we support both class and typename within C++ to indicate a type...

Author: slippman Date: 08/11/2004

Why C++/CLI Supports both Templates for CLI Types and the CLI Generic Mechanism

I've been recently puzzling out a strategy for presenting the two mechanisms supporting...

Author: slippman Date: 08/05/2004

Identifying the Candidate Function Set

Sorry it is taking me so long these days. I am in the throes of more formal writing – a book...

Author: slippman Date: 08/01/2004

The Value of a Value Class

A reader questions the nature of the value type when he writes, Sender: Slawomir...

Author: slippman Date: 07/23/2004

String Literal Conversion to String: Is It a Disaster?

A reader asks, Sender: Jackre: String Literals are now a Trivial Conversion to StringWon't it break...

Author: slippman Date: 07/23/2004

String Literal Conversion to String: Is It a Disaster?

A reader asks, Sender: Jackre: String Literals are now a Trivial Conversion to StringWon't it break...

Author: slippman Date: 07/23/2004

String Literals are now a Trivial Conversion to String

There was a recent internal thread on the resolution of the following set of overloaded member...

Author: slippman Date: 07/19/2004

Factor, Don't Complicate

A reader asks the following question, Sender: bv re: A Question about Copy Constructors in C++/CLI...

Author: slippman Date: 06/04/2004

Putting C++ and the CLI in Perspective

A surprising thread that has emerged has to do with libraries. Here is an representative example,...

Author: slippman Date: 06/04/2004

System::String -> std::string

A reader asks, Sender: Erik Brendengen Is there an easy way to convert from String^ to std::string?...

Author: slippman Date: 06/02/2004

A Question of Interopt

A reader asks the following question, Sender: Richard Hsu Stan, Would you suggest, for those of us...

Author: slippman Date: 06/02/2004

A Reader Bleakly Asks About the Future of C++ within Microsoft

A reader writes Sender: Brian Braatz ===================================== I posted the following to...

Author: slippman Date: 05/28/2004

C++/CLI: System::String^, std::string, and "a string literal"

Without thinking too hard I had held the following precept: std::string is to ISO C++ as...

Author: slippman Date: 05/20/2004

Yes, Value Types Have No Destructors

A reader comments Sender: Joe Pacheco ===================================== re: Integrating Dispose...

Author: slippman Date: 05/13/2004

Integrating Dispose and Finalize into the Language

A reader comments re: Changes in Destructor Semantics in Support of Deterministic Finalization I...

Author: slippman Date: 04/29/2004

Changes in Destructor Semantics in Support of Deterministic Finalization

In the original language design, a class destructor was permitted within a reference class but not...

Author: slippman Date: 03/25/2004

Having the right Type Vocabulary to discuss Boxed Value Types

Comments from Stan Lippman's BLog: Jon Flandersre: Value Type ReduxI think it is always important to...

Author: slippman Date: 03/09/2004

Value Type Redux

I’d like to thank Yves Dolce for responding to Wesner Moise who writes: Sender: Wesner Moise...

Author: slippman Date: 02/26/2004

Value Type Representation Between the Original and Revised C++

For the work I’ve been engaged in currently in machine translation of the original language...

Author: slippman Date: 02/26/2004

Some Thoughts on Program Efficiency

Program efficiency at the programmer level is something of a complicated issue – in part...

Author: slippman Date: 02/18/2004

C++/CLI revision of the Managed Extension Reference Array Syntax

The declaration of a managed array object in the original language design was a slightly...

Author: slippman Date: 02/16/2004

Supporting Direct Handles to Boxed Value Types

A reader, Yves Dolce, writes: Related to your last blog entry: The Astonishing S"Literal" String...

Author: slippman Date: 02/13/2004

Bringing Existing ISO C++ to C++/CLI and Why We Don't Change L"hi"

indranil banerjee writes re: Virtual Function Behavior Between ISO C++ and C++/CLI Revisited Thanks...

Author: slippman Date: 02/12/2004

The Astonishing S"Literal" String Type

One of the astonishing infelicities of the original language design was the unflagged overhead of...

Author: slippman Date: 02/11/2004

Virtual Function Behavior Between ISO C++ and C++/CLI Revisited

I seem to have rather badly explained the `virtual function invocation within a constructor...

Author: slippman Date: 02/09/2004

The Name Return Value Optimization

I received the following mail the other day in response to my writing that the Visual C++ compiler...

Author: slippman Date: 02/03/2004

Comment Response: Finding a Voice for a Blog

A reader commented on my first blog entry, and my first writing about C++/CLI in over a year,...

Author: slippman Date: 01/30/2004

Making a Virtual Table Context-Sensitive

In part 1 of this discussion [the January 28th Blog entry], I pointed out a different behavior...

Author: slippman Date: 01/30/2004

Smalltalk and C++ -- a Reader Comment and Response

A reader, Chris Hanson, writes: re: A Fundamental Difference in Class Behavior between the Native...

Author: slippman Date: 01/29/2004

A Fundamental Difference in Class Behavior between the Native and Managed Object Model

I have used two primary metaphors in my discussions of bring C++ to the .NET platform. In terms of...

Author: slippman Date: 01/28/2004

Some Performance Notes on Virtual Function in ISO C++

The elimination of the virtual mechanism in the invocation of a virtual function is in most cases...

Author: slippman Date: 01/27/2004

A Question of Const

A reader, J. Daniel Smith, inquiries You wrote “The absence of const support in the base class...

Author: slippman Date: 01/22/2004

A Question about Multiple Inheritance Efficiency

A reader, Johan Ericsson, comments re: Further Discussion of MI and general C++/CLI design issues I...

Author: slippman Date: 01/21/2004

A Question about Copy Constructors in C++/CLI

Daniel O'Connell writes, re: Followup: The Absence of MI Hmm, Copy constructors...One would hope...

Author: slippman Date: 01/20/2004

Further Discussion of MI and general C++/CLI design issues

That same reader from the previous two posting responds as follows, with some editing. I am...

Author: slippman Date: 01/19/2004

Followup: The Absence of MI

That same reader from the previous posting now writes the following, where he quotes me and then...

Author: slippman Date: 01/19/2004

What about Templates and Multiple Inheritance

A reader writes the following from the initial posting on this blog: re: The Revised C++ Language...

Author: slippman Date: 01/19/2004

C++/CLI: __try_cast<> becomes safe_cast<>

What’s Different in the Revised Language Definition? __try_cast becomes safe_cast<>...

Author: slippman Date: 01/08/2004

Conversion Operators

What’s Different in the Revised Language Definition? Conversion Operators      ...

Author: slippman Date: 12/17/2003

Declaring Delegates and Events

What’s Different in the Revised Language Definition? Delegates and Events       The...

Author: slippman Date: 12/15/2003

Declaring Indexed Properties

What’s Different in the Revised Language Definition? Declaring Indexed Properties     In...

Author: slippman Date: 12/12/2003

Property Declarations

What s Different in the Revised Language Definition? Declaring Properties In the original language...

Author: slippman Date: 12/11/2003

Implicit Boxing

What s Different in the Revised Language Definition? Implicit Boxing     Ok, so we...

Author: slippman Date: 12/10/2003

Declaration and Use of Overloaded Operators

What s Different in the Revised Language Definition? Support for Operator Overloading    ...

Author: slippman Date: 12/09/2003

The Declaration of a Managed Enum

What s Different in the Revised Language Definition? The Declaration of a Managed Enum Type  ...

Author: slippman Date: 12/08/2003

Next>