DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 22 Aug 2007 13:04:05 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    Juan Dent am
          2    Jon Skeet [C# MVP]
          3    Thomas Scheidegger [MVP]


Is C# written in C++ underneath?   
Hi,

Very curious of the role of C++ today, was wondering if C# was actually 
written in C++.


-- 
Thanks in advance,

Juan Dent, M.Sc.
Date:Wed, 22 Aug 2007 13:04:05 -0700   Author:  

Re: Is C# written in C++ underneath?   
Juan Dent <juanjr@nospam.nospam> wrote:

> Very curious of the role of C++ today, was wondering if C# was actually 
> written in C++.


C# itself is just a language. Languages themselves aren't written in 
anything. Do you mean the compiler? Or the CLR? Or the framework?

-- 
Jon Skeet - 
http://www.pobox.com/~skeet   Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Date:Wed, 22 Aug 2007 22:06:45 +0100   Author:  

Re: Is C# written in C++ underneath?   
> Very curious of the role of C++ today, was wondering if C# was actually written in C++.

for the Framework/Runtime, have a look at the source of  SSCLI 'Rotor'
   http://www.microsoft.com/downloads/details.aspx?FamilyId=8C09FD61-3F26-4555-AE17-3121B4F51D4D
    (many parts are very comparable to the real .NET source)

AFAIK:
The runtime is mostly in C++.
Many Framework classes/methods are written in C# only, others are 'dual' using C++ helper/runtime methods.

The Microsoft C# compiler was written in C++.

The Mono
  http://www.mono-project.com/CSharp_Compiler
C# compiler was written in C# itself.




-- 
 Thomas Scheidegger - MVP .NET - 'NETMaster'
 http://www.cetus-links.org/oo_dotnet.html - http://dnetmaster.net/
Date:Wed, 22 Aug 2007 23:34:06 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us