Related articles |
---|
[4 earlier articles] |
Re: Converting Pascal to C++, C# or VB DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB englere.geo@yahoo.com (Eric) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB gneuner2@comcast.net (George Neuner) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB martin@gkc.org.uk (Martin Ward) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB neelk@cs.cmu.edu (Neelakantan Krishnaswami) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB thompgc@gmail.com (thompgc@gmail.com) (2006-04-08) |
Re: Converting Pascal to C++, C# or VB marcov@stack.nl (Marco van de Voort) (2006-04-09) |
Re: Converting Pascal to C++, C# or VB marcov@stack.nl (Marco van de Voort) (2006-04-09) |
Re: Converting Pascal to C++, C# or VB marcov@stack.nl (Marco van de Voort) (2006-04-09) |
Re: Converting Pascal to C++, C# or VB DrDiettrich@compuserve.de (Hans-Peter Diettrich) (2006-04-10) |
Re: Converting Pascal to C++, C# or VB gneuner2@comcast.net (George Neuner) (2006-04-10) |
Re: Converting Pascal to C++, C# or VB englere.geo@yahoo.com (Eric) (2006-04-12) |
Re: Converting Pascal to C++, C# or VB hebisch@math.uni.wroc.pl (Waldek Hebisch) (2006-04-12) |
[1 later articles] |
From: | Marco van de Voort <marcov@stack.nl> |
Newsgroups: | comp.compilers |
Date: | 9 Apr 2006 16:56:56 -0400 |
Organization: | Stack Usenet News Service |
References: | 06-04-017 06-04-036 |
Keywords: | Pascal, C, translator |
Posted-Date: | 09 Apr 2006 16:56:56 EDT |
On 2006-04-08, John O'Harrow <john@elmcrest.demon.co.uk> wrote:
> Converting from Delphi Object Pascal to C# should be much easier than
> converting to C++. The Delphi and C# languages are very similar (Anders
> Hejlsberg, the lead C# architect at Microsoft was the main developer of
> Delphi in its early days).
I doubt it. While the high level aspects of the language are closer to C#,
the lower level aspects are closer to C/C++.
And in C/C++ it is easier to emulate the highlevel Pascal constructs than it
is in C# to emulate the lowerlevel features.
Keep in mind that Delphi allows e.g. pointer arithmetic, inline
assembler and pearls like overlaying a variant record over a calculated
pointer will be pretty hard to emulate in C#.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.