Article View: borland.public.csharpbuilder.language.csharp
Article #193C# for Win32?
From: Andrew Clark
Date: Fri, 10 Nov 2006 22:00
Date: Fri, 10 Nov 2006 22:00
30 lines
3093 bytes
3093 bytes
Has there been any discussion about the creation of a native Win32 version of the C# compiler? I've been looking for a solution that allows the creation of 'standard' executables but could also work under .NET. There are still huge performance advantages to a 'real' .exe, not to mention the memory requirements required by the .NET runtime. I've used C++ Builder, Java and C# for years, but I've started using Delphi because of its ability to generate a native .exe and .NET code from the same code base (the only language that I know that can do that). I really think that C# is the best language available right now, but the fact that it can only generate .NET code makes it an unacceptable solution for some of the projects that we work on. It seems like Borland is in a unique position to be able to generate Win32 and .NET code from the same code base, since it already has a compiler (Delphi) that does just that. Delphi seems like a good language, but it doesn't have anywhere close to the level of support in the development community that C# does. The three 'big' languages right now (C++/C#/Java) all are very similar in their structure and layout, and trivial to move between and learn for developers. Delphi is different enough that it requires some rethinking and restructuring (why is there a semi-colon between parameter declarations, why do I have to declare a method twice in each unit, oops I put the function return type before the function instead of after it). I would pay (hundreds of dollars) extra for a C# compiler that generates Win32 code and I'm sure that there are other people that feel the same way. Doesn't the C# compiler generate intermediate code that is compatible with the same Delphi back-end that generates .NET code? Couldn't it be modified to generate assembly the same way that the Delphi back end does for Win32 code? I'm sure that I'm oversimplifying things (delegates, Object vs. TObject, auto-boxing come to mind), but it would be great! It would be the ultimate solution for Windows (and Linux/Kylix?) - there would be tremendous reason for developers to stop using Visual Studio and start using Borland solutions, where there might not have been reason in the past.
Technical Details
Message-ID:
<4554f674$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,c3840986f8ef7833,start X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andrew Clark" <andrewclark@verizon.net> Newsgroups: borland.public.csharpbuilder.language.csharp Subject: C# for Win32? Date: Fri, 10 Nov 2006 16:00:23 -0600 Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 71.120.60.201 Message-ID: <4554f674$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163196020 71.120.60.201 (10 Nov 2006 14:00:20 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail