PC Review


Reply
Thread Tools Rate Thread

c# vs VB.net

 
 
vijaya
Guest
Posts: n/a
 
      18th Dec 2003
I'm a newbie to .net

Is it true that C#.net code executes faster than VB.net?

Which one is superior?

I need few good links regarding this issue.
 
Reply With Quote
 
 
 
 
Jan Tielens
Guest
Posts: n/a
 
      18th Dec 2003
This is not true. VB.NET and C# compile both to the same IL that is executed
by the .NET Framework. No language is superior in my opinion, both have more
or less the same functionality.

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan


"vijaya" <(E-Mail Removed)> wrote in message
news:043901c3c562$620e0a20$(E-Mail Removed)...
> I'm a newbie to .net
>
> Is it true that C#.net code executes faster than VB.net?
>
> Which one is superior?
>
> I need few good links regarding this issue.



 
Reply With Quote
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      18th Dec 2003
vijaya <(E-Mail Removed)> wrote:
> I'm a newbie to .net
>
> Is it true that C#.net code executes faster than VB.net?


No - not if you use VB.NET appropriately rather than with option strict
off, etc. There are some ways in which VB.NET might be a tiny, tiny bit
slower (e.g. keeping track of the last error) but nothing significant
at all.

> Which one is superior?


That depends on which syntax you prefer, really.

> I need few good links regarding this issue.


If you search on groups.google.com you'll see *lots* of discussions
about that.

--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too
 
Reply With Quote
 
William Ryan
Guest
Posts: n/a
 
      18th Dec 2003
Yes and no. If you compile VB.NET with OPtion Strict ON, then no, it's not
true. There may be an instance occassionally where one is faster than the
other, but it's very rare and not slanted only in C#'s favor. If you have
Options Strict Off (aka, Option Slow On) then it will almost certainly run
slower. I don't think c# even lets you turn it off... but if it is, it's
not an apples to apples comparison and it has nothing to do with VB.NET
beign slower.

Learn them both. C# vs. VB.NET is the most insipid discussion there is, if
everyone spent as much time learning .NET instead of having this
argument.....

Learn .NET that's what matters. Top Notch C# programmers can learn VB.NET
in a week or two. Same in reverse. HOwever, Top Notch VB6 and C++
programmers will have to put in a few good months to reallly learn .NET.

So to heck with Syntax. Also, in the future, the differences between the
two will grow but they will still be able to do jsut about everything the
other one will....Learn them both.

HTH,

Bill
"vijaya" <(E-Mail Removed)> wrote in message
news:043901c3c562$620e0a20$(E-Mail Removed)...
> I'm a newbie to .net
>
> Is it true that C#.net code executes faster than VB.net?
>
> Which one is superior?
>
> I need few good links regarding this issue.



 
Reply With Quote
 
TrAinWreCK
Guest
Posts: n/a
 
      18th Dec 2003
C# and VBs performance is virtually the same. All .NET
languages are compiled by the SAME common engine. The end
result is that you won't find any major difference in
execution speed between VB and C#. You can verify this
conclusion by checking out the following links:

http://www.asptutorial.net/vb-vs-csharp.htm

http://www.fawcette.com/vsm/2001%5F12/online/online%
5Feprods/vsnet/




>-----Original Message-----
>I'm a newbie to .net
>
>Is it true that C#.net code executes faster than VB.net?
>
>Which one is superior?
>
>I need few good links regarding this issue.
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:35 PM.