Results 1 to 2 of 2

Thread: .Net Languages?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 2004
    Location
    cali
    Posts
    243

    .Net Languages?

    Are they all compiled to the same thing?

    Does C++ lose it's speed or something?


    Is C# faster than VB? E.g. If you were to have a 5mil list of words and sorted them w/ quicksort, would one be faster than the other?

    Advantages/Disadvantages between the .Net languages?
    ......

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: .Net Languages?

    They're all compiled to MSIL, which is compiled to machine code on-demand by the .NET Framework JIT compiler. If execution speed is of great importance then unmanaged C++ is what you should be using. All .NET languages produce essentially the same MSIL code, although VB.NET can produce slightly more verbose output in some situations. The main speed benefit of C# comes from the fact that it supports pointers where VB.NET does not, which can be very beneficial in certain circumstances.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width