• Stan Lippman's BLog

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

    • 4 Comments
    The declaration of a managed array object in the original language design was a slightly non-intuitive extension of the standard array declaration in which a __gc keyword was placed between the name of the array object and its possibly comma-filled dimension...
  • Stan Lippman's BLog

    Supporting Direct Handles to Boxed Value Types

    • 3 Comments
    A reader, Yves Dolce, writes: Related to your last blog entry: The Astonishing S"Literal" String Type I was surprised that sometimes, boxing is conceptually implicit... That any Object method can be called directly without any explicit boxing...
  • Stan Lippman's BLog

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

    • 0 Comments
    indranil banerjee writes re: Virtual Function Behavior Between ISO C++ and C++/CLI Revisited Thanks for the explanation. Rereading your earlier post and examples, it is quite clear that runtime resolution of virtuals is the same in both CLR...
  • Stan Lippman's BLog

    The Astonishing S"Literal" String Type

    • 2 Comments
    One of the astonishing infelicities of the original language design was the unflagged overhead of the seemingly trivial failing of placing an S in front of a string literal targeted to a managed reference object. For example, given the following two System...
  • Stan Lippman's BLog

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

    • 1 Comments
    I seem to have rather badly explained the `virtual function invocation within a constructor issue,’ if one is to judge by the following question posted as a follow-up to my blog entry, for which I apologize: Sender: Indranil Banejree ...
  • Stan Lippman's BLog

    The Name Return Value Optimization

    • 6 Comments
    I received the following mail the other day in response to my writing that the Visual C++ compiler has [finally!] implemented the name return value optimization (NRVO) in the Visual Studio 2003 release: Sender: James Slaughter I was in the...
  • Stan Lippman's BLog

    Comment Response: Finding a Voice for a Blog

    • 3 Comments
    A reader commented on my first blog entry, and my first writing about C++/CLI in over a year, stating the following RE: The Revised C++ Language Design Supporting .NET -- Part 1 12/2/2003 4:15 PM Tim Sweeney You poor, confused soul. This is...
  • Stan Lippman's BLog

    Making a Virtual Table Context-Sensitive

    • 4 Comments
    In part 1 of this discussion [the January 28 th Blog entry], I pointed out a different behavior between the C++ and CLR Object Models with regard the identity of a derived polymorphic object during the construction of its base class sub-objects. Under...
  • Stan Lippman's BLog

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

    • 1 Comments
    A reader, Chris Hanson, writes: re: A Fundamental Difference in Class Behavior between the Native and Managed Object Model In other words, Managed C++ actually behaves like an object-oriented language, such as Smalltalk or Objective-C. An...
  • Stan Lippman's BLog

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

    • 7 Comments
    I have used two primary metaphors in my discussions of bring C++ to the .NET platform. In terms of the different physics of the two object models, I have distinguished them as Kansas and Oz, and claimed with little apparent success that the physics of...
  • Stan Lippman's BLog

    Some Performance Notes on Virtual Function in ISO C++

    • 2 Comments
    The elimination of the virtual mechanism in the invocation of a virtual function is in most cases trivial when measured against the elimination of any call invocation at all – that is, when the call is expanded inline. An inline expansion not only...
  • Stan Lippman's BLog

    A Question of Const

    • 6 Comments
    A reader, J. Daniel Smith , inquiries You wrote “The absence of const support in the base class library… “; Can you elaborate any on what the plans are for “const” as they relate to C++/CLI and C#? I...
  • Stan Lippman's BLog

    A Question about Multiple Inheritance Efficiency

    • 3 Comments
    A reader, Johan Ericsson , comments re: Further Discussion of MI and general C++/CLI design issues I appreciate your discussion of the multiple inheritance issue. Is the performance problem of MI only inherent in virtual base clases...
  • Stan Lippman's BLog

    A Question about Copy Constructors in C++/CLI

    • 2 Comments
    Daniel O'Connell writes, re: Followup: The Absence of MI Hmm, Copy constructors...One would hope that the implementation and documentation is done *very* carefully(IE, marked as non-CLS compliant or implemented to work with ICloneable). I...
  • Stan Lippman's BLog

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

    • 7 Comments
    That same reader from the previous two posting responds as follows, with some editing. I am responding only because it gives me an excuse to speak of technical implementation issues, which I enjoy, and which readers often find interesting. With regard...
  • Stan Lippman's BLog

    Followup: The Absence of MI

    • 6 Comments
    That same reader from the previous posting now writes the following, where he quotes me and then makes his comment [this is great, by the way. this is much more engaging than the technical writing]: “There are some significant implementation...
  • Stan Lippman's BLog

    What about Templates and Multiple Inheritance

    • 4 Comments
    A reader writes the following from the initial posting on this blog: re: The Revised C++ Language Design Supporting .NET -- Part 1 “Probably the most conspicuous and eyebrow-lifting change between the original and revised design of the dynamic...
  • Stan Lippman's BLog

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

    • 3 Comments
    What’s Different in the Revised Language Definition? __try_cast becomes safe_cast<> Modifying an existing structure is a much different and, in some sense, a more difficult experience than crafting the initial structure; there...
  • Stan Lippman's BLog

    Conversion Operators

    • 2 Comments
    What’s Different in the Revised Language Definition? Conversion Operators       Speaking of that grotty feel to the language, having to write op_Implicit to specify a conversion just didn’t feel...
  • Stan Lippman's BLog

    Declaring Delegates and Events

    • 3 Comments
    What’s Different in the Revised Language Definition? Delegates and Events       The only change to the declarations of a delegate and a trivial event is the removal of the double underscore, as in...
  • Stan Lippman's BLog

    Declaring Indexed Properties

    • 2 Comments
    What’s Different in the Revised Language Definition? Declaring Indexed Properties     In an earlier entry on operator overloading, I showed the following construction, in which the x-coordinate of a managed...
  • Stan Lippman's BLog

    Property Declarations

    • 7 Comments
    What s Different in the Revised Language Definition? Declaring Properties In the original language design, each set or get property accessor is specified as an independent member function. The declaration of each method is...
  • Stan Lippman's BLog

    Implicit Boxing

    • 14 Comments
    What s Different in the Revised Language Definition? Implicit Boxing     Ok, so we reversed ourselves. In politics, that would likely loose us an election. In language design, it means that we imposed a...
  • Stan Lippman's BLog

    Declaration and Use of Overloaded Operators

    • 3 Comments
    What s Different in the Revised Language Definition? Support for Operator Overloading     Perhaps the most baffling aspect of the original language design is its support for operator overloading or rather...
  • Stan Lippman's BLog

    The Declaration of a Managed Enum

    • 3 Comments
    What s Different in the Revised Language Definition? The Declaration of a Managed Enum Type   The original .NET enum declaration is preceded by the __value keyword. For example,   // the original syntax...
Page 2 of 3 (55 items) 123