Re: Further evidence MS hasn't abandoned Win32 development




"Rudy Velthuis [TeamB]":
>> Did I ever imply that you can?
>
> So what is the advantage of using native code?


Here's an excerpt from an article about the advantages of MC++ Managed
extensions and essential differences between a purely managed and verifiable
language like C# and Delphi for .NET and MC++ with Managed Extensions:

MC++ managed extensions advantages ...
http://www.ondotnet.com/pub/a/dotnet/2003/01/13/intromcpp.html
<Quote>
The best performance of generated IL code because of both optimizations of
the generated IL and less IL generated (as discussed in the previous
section). This is specifically because MC++ is the only .NET compiler with a
full optimizer back end, which is pretty much the same one that is used by
the unmanaged compiler.
a.. MC++ is your language of choice if you want full control of the .NET
environment:
a.. Allows one to use all seven levels of CTS member access. C# allows
only six.
b.. Allows direct access to interior gc pointers, useful in a whole class
of system applications such as system and .NET utilities.
c.. Offers explicit control of expensive operations like boxing.
d.. Supports multiple indexed properties on a type, unlike C#.
a.. MC++ is currently the only managed language that allows you to mix
unmanaged and managed code, even in the same file. This leads to several
other points:
a.. Allows a developer to keep performance-critical portions of the code
in native code.
b.. Gives seamless access to all unmanaged libraries, such as DLLs,
statically-linked libraries, COM objects, template libraries, and more.
c.. Leverages existing investments in C++ programming skills and legacy
C++ code.
d.. Porting unmanaged code to .NET: MC++ allows you to take existing
unmanaged code and compile it to managed code (with the /clr compiler switch
and IJW).
e.. Gives the ability to port code at one's own rate rather than re-write
all at once.
f.. Provides the easiest way to add .NET support to your existing native
C++ Windows applications, by allowing you to bridge the gap between the two
environments with as little work on your behalf as possible, and with the
lowest performance penalty.
a.. MC++ is currently the only language that allows some form of
multi-paradigm design and development with full support for generic
programming and templates. This can lead to more options and better designs
and implementations.
</Quote>

Now, how many of these advantages are available with Delphi?


.



Relevant Pages

  • Re: C Programmer Needed
    ... >>>The second approach is to extend the language to allow the programmer ... it would be a cleaner solution to extend the language. ... >>>the compiler this is to mark the array as volatile. ... > whole program compilation, including the libraries. ...
    (comp.programming)
  • Re: Teaching new tricks to an old dog (C++ -->Ada)
    ... > no time there was a fully compiant C compiler available. ... Let's address the Ada side first. ... compiler for C, Ada, or any other language. ... Ada certainly provides facilities useful for writing libraries, ...
    (comp.lang.ada)
  • Re: Teaching new tricks to an old dog (C++ -->Ada)
    ... > no time there was a fully compiant C compiler available. ... Let's address the Ada side first. ... compiler for C, Ada, or any other language. ... Ada certainly provides facilities useful for writing libraries, ...
    (comp.lang.cpp)
  • Re: VB6, VB2005, or Something Else?
    ... The compiler generates the name mangling under the hood, or if you export these functions in a DLL. ... However you cannot use them safely from another language or other compiler vendors. ... As soon as you update to the new compiler it would either break compatibility or would have 2 name mangling hierarchies - internal and COM name mangling - which surely would lead to let's say interface mangling hell - in analogy to the DLL hell. ... E.g. the C++ compiler will emit native code, where it's not possible to generate IL code. ...
    (microsoft.public.vb.general.discussion)
  • Re: OT: Requesting C advice
    ... language designers made the language ... Since when is C a virtual machine language? ... Every compiler I've used compiles C to native machine code for the ... libraries was not pleasant. ...
    (Fedora)