Re: .Net Impressions, Right Or Wrong

  • From: "The Elf" <inthaneelf@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 24 Jun 2010 12:53:00 -0700

ah, yeh, what he said! 

lol,
elf
Owner: Alacorn Computer Enterprises
Specialists in customized computers and peripherals
- own the might and majesty of a Alacorn!
www.alacorncomputer.com
proprietor, The Grab Bag, 
for blind computer users and programmers
http://grabbag.alacorncomputer.com

  ----- Original Message ----- 
  From: RicksPlace 
  To: programmingblind@xxxxxxxxxxxxx 
  Sent: Thursday, June 24, 2010 4:19 AM
  Subject: Re: .Net Impressions, Right Or Wrong


  Hi Jim: When your first program is run and  translated it is translated into 
a common language called IML. All the .net languages are translated into IML 
when compiled ( Actually Translated might be a better word). Then the next day 
you build another program in another .net language. You set up a link to the 
first day's program and bam! it works. This is because the second day's program 
is also translated into IML before it runs and can get the first program's iml 
to add where necessary. At least that is how I think it works.
  Actually it is probabelly much more complex than that with run-time 
transaction checking of the IML status and paramaters and all that jazz but I 
think that is the general idea.
  Rick USA
    ----- Original Message ----- 
    From: Homme, James 
    To: programmingblind@xxxxxxxxxxxxx 
    Sent: Thursday, June 24, 2010 6:58 AM
    Subject: RE: .Net Impressions, Right Or Wrong


    OK Laura,\

    Let me try to translate. I sit down and write a file in C, for example. I 
compile that file. The C compiler turns it into something that the machine can 
read. In that file is a bunch of functions that I want to just use in other 
programs I write. The next day, I come back and whip out a program in Visual 
Basic. Visual Basic has some way of telling the compiler in my source code that 
I want to use the file I wrote yesterday with my functions in it. I do what I 
want with my C functions in my Visual Basic file. And the computer and I are 
both happy. How's that?

     

    Jim

     

    Jim Homme,

    Usability Services,

    Phone: 412-544-1810. Skype: jim.homme

    Internal recipients,  Read my accessibility blog. Discuss accessibility 
here. Accessibility Wiki: Breaking news and accessibility advice

     

    From: programmingblind-bounce@xxxxxxxxxxxxx 
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of qubit
    Sent: Thursday, June 24, 2010 6:10 AM
    To: programmingblind@xxxxxxxxxxxxx
    Subject: Re: .Net Impressions, Right Or Wrong

     

    hi jim -- no, in one language you declare a function f so you are able to 
call it, but you declare it in language A, although it is defined and 
implemented in another file in language B.

    note the difference between declare and define.  define means you supply 
the body of the function, with executable statements and such.

    This whole explanation presupposes a language like C or those in that 
family of languages that have strongly typed prototypes of functions or methods.

    I'm sorry, the whole idea is that a method or  function is called in 
language A, but defined in language B.

    --le

     

     

      ----- Original Message ----- 

      From: Jim 

      To: programmingblind@xxxxxxxxxxxxx 

      Sent: Wednesday, June 23, 2010 9:56 PM

      Subject: RE: .Net Impressions, Right Or Wrong

       

      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 

        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 

          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 

            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 accessibility blog. Discuss 
accessibility here. Accessibility 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.

Other related posts: