VCL.NET revisited...



Hi!

If you recompile your application with VCL.NET what do you get?
Slow speed and more memory consumption.

Why would you want to develope new applications with VCL.NET
or components?

1) requires access to unmanaged windows API.
2.) Increased code size due to run time library
3.) Is not written in C#.

The more I think about it the more is VCL.NET looking like something
that was developed as an escape platform from unmanaged Delphi W32
with an assumption that once ALL Delphi programmers will see
how good .NET is will immediately abandon unmanaged code and
will need some way to port their application to the new platform.

But, the unmanaged code is not going away. And as long as Delphi.W32
compiler is around, the existence of VCL.NET is pointless...

Managed and unmanaged code seem to be two separate platforms
which will coexist far in the future each with their own pluses
and minuses.

In that light porting VCL.NET to something like .NET 3.0 also
makes absolutely no sense.... If you want to use .NET use
Microsofts designer and Delphi.NET compiler. Why would you
need two designer frameworks?

But what does make sense, is to give Delphi.W32 compiler
at least a part of capabilities given to MS VC++ regarding writing
unmanaged code and making it accessible from .NET. That
is how CLR was written!

From the component writers point of view that would give
Delphi developers ability to write:

1.) Really small, self contained dll's.
2.) Executing very fast and much faster than managed competition.
3.) Still using the same code from .NET and W32, but without
porting issues, performance drawbacks and memory clogging.

Regards!
Atmapuri




.



Relevant Pages

  • Re: Buffer Overflow Errors
    ... Maybe if you have a compiler you ... >> Or perhaps using arrays in unmanaged code. ... >> Tony Morris ... the unsafe keyword does a lot more than that. ...
    (comp.lang.java.programmer)
  • Re: C# vs C++ regarding DirectX
    ... > if you want to build applications with .NET DirectX, ... one compiler could expose CLR features another language ... Managed C++ makes interop with unmanaged code a breeze. ...
    (microsoft.public.win32.programmer.directx.managed)
  • Re: C# and my indispensable inline assembly code
    ... The unmanaged code would need to be compiled and linked and the ... managed code would need a ref to it. ... include the unmanaged dll into the exe like ilmerge does or something to do ... >> produced by the C# compiler is secure/verifiable code and this is ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: VCL.NET revisited...
    ... DevCo must support Third-Party vendor to continue to it ... that was developed as an escape platform from unmanaged Delphi W32 ... the unmanaged code is not going away. ... Microsofts designer and Delphi.NET compiler. ...
    (borland.public.delphi.non-technical)
  • Re: Can you write code directly in CIL ???
    ... >> so I must do at least as well as the best compiler. ... >> of translating the generated assembly language from the best unmanaged code ... the execution paths would have to result in at least somewhat faster code. ... Some instructions can now be paired to execute concurrently. ...
    (microsoft.public.dotnet.languages.csharp)