non-.NET languages in VS.NET

  • Thread starter Thread starter Spar-Q
  • Start date Start date
S

Spar-Q

I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.
 
I believe Visual C++ is a standard C++ compiler. The "managed"
compilation is just an additional option.
 
Spar-Q said:
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.

You'll have to find a C compiler. .NET does ship with a sample C.NET
compiler, but it's not nearly full-featured enough for production work. You
can find it in the Tool Developers directory. Have a look at:
http://www.cs.princeton.edu/software/lcc/ (ANSI C from Princeton)
http://www.gnu.org/projects/dotgnu/pnet.html (ANSI C from Portable.NET)
 
Spar-Q

AFAIK is that possible.

You can ask this as well in the newsgroup

microsoft.public.dotnet.languages.vc

Probably do you have there a better change.

Cor
 
I was wondering if it is possible to code in original C in VS.NET,
instead of being limited to Managed C++. I was told at a conference by
a MS guy that .NET can handle any language you want, so I'm curious how
to go about doing this.
VC++ 2003 is a normal compiler that generates normal executables without
..NET if you wish, just like VC++ 6.0 would.
Using MFC. So no need to install .NET if you create applications like that.

But it also contains an option to compile in a mixed mode that is partially
like the old way and with the .NET way. So you can create hybride programs
partial .NET and partial none-.NET. In this case the .NET must be installed.
 
Not sure what the exact question is.

1) VS.NET allows to create C++ applications that doesn't relly on .NET (if
this is what you are after).

2) What the guy meant is likely that .NET provides a whole infrastructure
making quite "easy" (for a compiler vendor) to add whatever language to
..NET. In this case it creates .NET based application (he likely didn't meant
that any "non .NET language" can be "handled" by .NET)



Patrice
 
Programming Language, IDE (VS.NET out here) and Platform are three different
things we are talking about here. Using VS.NET it is possible to write code
in original C code targeting the Native WindowsT Platform. However, VS.NET
does not ship with support for pure C langugage targeting the .NET platform.
best,
Subin
 
Ahh, I see a bunch of confusion here.. What I wanted was the ability to
write standard "old" c++ code without the whole .NET infrastructure
involved... C would be nice as well, if I could get a compiler for it,
but that's not totally necessary.
 
Spar-Q said:
Ahh, I see a bunch of confusion here.. What I wanted was the ability to
write standard "old" c++ code without the whole .NET infrastructure
involved... C would be nice as well, if I could get a compiler for it,
but that's not totally necessary.

VS.NET allows you to write both managed and unmanaged C++ code, unmanaged
being "old" C++ code.
 
Back
Top