Hi Jim, I'm not Laura, but what you say is actually commonly done when writing C++/CLI. In other words, you can mix .Net styled C++ (which has certain extensions to allow for references/pointers to .Net objects) and unmanaged C++. Incidentally, .Net is just a framework (massive one at that) which permits the developer to not have to reimplement many common algorithms, data structures, UI controls (Windows-based of course), and many other tasks. With this simplification comes loss of control and potential for performance degredation. C++/CLI is actually the lowest level language among .Net languages since you can explicitly box/unbox simple types and do things that C# simply hides. It definitely looks closer to the underlying IL code which itself is somewhere between the higher level languages like C/C++ and the lower level assembly family of languages. - David On 6/23/10, Jim <jhomme1028@xxxxxxxxx> wrote: > Hi Laura, > > So do you have to put the stuff from one language in one source file and the > stuff from the other language in another one, or can you (I'm not sure why > you would) put it all in one source file and say some incantation over it? > > > > Jim > > > > Jim Homme > > Skype: jim.homme > > "Every day's a gift." > > > > From: programmingblind-bounce@xxxxxxxxxxxxx > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit > Sent: Wednesday, June 23, 2010 7:16 PM > To: programmingblind@xxxxxxxxxxxxx > Subject: Re: .Net Impressions, Right Or Wrong > > > > It depends on the languages, Jim. > > Of course, in the end they all have to communicate at some level, but in the > case of java and C, java compiles down to its own little interpreted virtual > machine, while C compiles down to a .exe that runs on the native hardware -- > so you have to specify "native" in the declarations in java for the > functions that are actually implemented in C, and the whole thing somehow > agrees not to crash your system *smile* > > --le > > > > ----- Original Message ----- > > From: Jim <mailto:jhomme1028@xxxxxxxxx> > > To: programmingblind@xxxxxxxxxxxxx > > Sent: Wednesday, June 23, 2010 5:44 PM > > Subject: RE: .Net Impressions, Right Or Wrong > > > > Hi, > > I may not be saying this correctly, but here goes. I was reading a book > today about this, and it seemed that they were saying that you write in the > language of your choosing. Then, something takes it and translates it into > something called a Common Intermediate language, and from there, some of the > stuff gets put into a common runtime language and that's what makes it work > for many languages. This is just my attempt to understand how this works. > But the book I was reading said that most of the time you program in .Net, > you're really learning how to use the .net framework classes. What little > time you spend in a given language, you spend hooking things up so that the > various .net stuff you use works on the data from your program. > > > > How's that for babble? > > > > Jim > > > > > > > > Jim Homme > > Skype: jim.homme > > "Every day's a gift." > > > > From: programmingblind-bounce@xxxxxxxxxxxxx > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of RicksPlace > Sent: Wednesday, June 23, 2010 5:50 PM > To: programmingblind@xxxxxxxxxxxxx > Subject: Re: .Net Impressions, Right Or Wrong > > > > I have not done that much. Once i had either a couple of files or Webpages > written in vb and C#. The files just had the .vb and .cs extensions and when > the project compiled it translated them. Other than that I'm not sure how it > would work. I work in the Express modules which are for one language. I > guess Visual Studio would have facillities to handle that since it has > multiple languages but I'm not sure how you would implement it. > > I know that whichever language you use it is converted into IML which is the > same for all the .net languages. Likely the compiler reads the file > extension and converts the source code to IML based on a translator for that > language and then the IML is merged to create the finished translated code. > > Rick USA > > ----- Original Message ----- > > From: Jim <mailto:jhomme1028@xxxxxxxxx> > > To: programmingblind@xxxxxxxxxxxxx > > Sent: Wednesday, June 23, 2010 5:35 PM > > Subject: RE: .Net Impressions, Right Or Wrong > > > > Hi, > > I'm one of these people who still thinks computers are part magic. How does > it work when you have two languages in one program. Do you have two files? > > > > Thanks. > > > > Jim > > > > Jim Homme > > Skype: jim.homme > > "Every day's a gift." > > > > From: programmingblind-bounce@xxxxxxxxxxxxx > [mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit > Sent: Wednesday, June 23, 2010 4:22 PM > To: programmingblind@xxxxxxxxxxxxx > Subject: Re: .Net Impressions, Right Or Wrong > > > > lol -- imagine COBOL.NET -- sounds like an oxy moron... > > I think you are right, although the languages should be able to support OO > style in order to integrate .NET. > > and if you have multiple languages in one program, you have to be sure you > interface correctly to take into account calling conventions -- passing by > value vs by reference, handling of arrays, etc. > > --le > > > > ----- Original Message ----- > > From: Homme, James <mailto:james.homme@xxxxxxxxxxxx> > > To: programmingblind@xxxxxxxxxxxxx > > Sent: Wednesday, June 23, 2010 1:09 PM > > Subject: .Net Impressions, Right Or Wrong > > > > Hi, > > Am I getting the right impression about this? From what I'm reading, you can > pick many different languages. They all use the .Net Framework Classes. > Therefore, it only matters which language you use if you are working in an > environment where that language is used. For example, if you work somewhere > and they use C# with .net, then you'd want to learn C#. If you worked or had > fun somewhere in which they use VB.Net, then you'd want to learn that > language. The same would apply if you wanted to use Python in the .Net > environment. You could use Python, but you'd be able to access the classes > in the .Net framework, but with Python. And the same would go for Cobol, > assuming there is some sort of Cobol something that uses .Net. Is that > anywhere in the ball park? > > > > Thanks. > > > > Jim > > > > > > > > Jim Homme, > > Usability Services, > > Phone: 412-544-1810. Skype: jim.homme > > Internal recipients, Read my > <http://mysites.highmark.com/personal/lidikki/Blog/default.aspx> > accessibility blog. Discuss > <http://collaborate.highmark.com/COP/technical/accessibility/default.aspx> > accessibility here. Accessibility > <http://collaborate.highmark.com/COP/technical/accessibility/Accessibility%2 > 0Wiki/Forms/AllPages.aspx> Wiki: Breaking news and accessibility advice > > > > > > > _____ > > > This e-mail and any attachments to it are confidential and are intended > solely for use of the individual or entity to whom they are addressed. If > you have received this e-mail in error, please notify the sender immediately > and then delete it. If you are not the intended recipient, you must not > keep, use, disclose, copy or distribute this e-mail without the author's > prior permission. The views expressed in this e-mail message do not > necessarily represent the views of Highmark Inc., its subsidiaries, or > affiliates. > > __________ View the list's information and change your settings at //www.freelists.org/list/programmingblind