Re: Unmanaged Possibilities



"Damian Wood" <dwood@xxxxxxxxx> wrote in message
news:444e9271$1@xxxxxxxxxxxxxxxxxxxxxxxxx

Just some random questions I was thinking about. I am one of 2 (Win32)
Delphi Developers among a group of 11 (2 Delphi, 5 C++, 4 C#) and I am
always getting harrased (most of the time jokingly of course) about
working
in Delphi from the C# guys. It sure would be nice if I could at least do
the
same thing C# could, as well as have the product run faster. Wouldn't it
be
nice to at least have Unmanaged Delphi and Delphi for .NET at least have
the
same language features?

Damian


You may get a kick out of this article, which shows how to implement
something similar to c++ templates in Delphi. The linked example shows in
particular how to use templates to enable use of generics. The support for
generics is compile time support (as in c++) and not runtime support (as
..net has). I believe a number of people have made productive use of these
"Rossen Assenov" type Delphi generics:

http://www.dummzeuch.de/delphi/object_pascal_templates/english.html

-- Herbert Sitz


.



Relevant Pages

  • Re: templates and managed code
    ... Beware that managed generics are *NOT* templates, ... not support specialization, ... Managed C++ allows only interface multiple-inheritance and class single ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Specialization with generics
    ... user-defined specialization is not supported by generics. ... Since most other differences between templates and generics are emergent ... > limitation caused the design team to leave out support for specialization. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Java vs C++, A Newbies perspective.
    ... That's what Java Generics do. ... is to write templates for code, which are expanded to different code ... Every pure type constraint on code using C++ templates is ...
    (comp.lang.java.programmer)
  • Re: Template for web visitors?
    ... I think it maybe hard to get a template which include all those features ... but there does exists many existing ASP.NET starter kits ... templates which provide most features you mentioed. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Performance bei Vergleichoperationen
    ... C++ Templates eben mit den Generics nicht mithalten können, ... Templates sind IMHO bei Definiton das mächtigere Tool, ... zum Beispiel Laufzeit-Fehler ergeben - was C# in diesen Szenarien ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)

Loading