Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've heard that C# and VB.Net are effectivly the same language, only with a different dialect. That C# is more comfortable for C users, but effectivly uses the same commands and shares the same speed/performance of VB.Net.

 

I've also heard that C# is better for making games, so presumably better in some performance issues.

 

Honestly, from the common sense I gather, unless it too offers backwards compatability to C/C++, it should perform better than VB.Net as there would be less overhead.

 

VB.Net has to deal with a lot of backwards compatability issues. True they kicked a bunch of them out, but there are still redundant ways of doing things to keep the old vb6 programmers happy. I'm not sure how much overhead this is carrying, but it should be some.

 

So which are the advantages of each? Does C# have the same database advantages that vb.net does? Does one outperform the other? is one easier or more robust?

 

I've heard different answers to some of these questions looking around on these and other boards, but I thought I'd ask and get opinions and facts.

  • *Experts*
Posted
Both VB.NET and C# can access the same class library, and they both compile to the same thing. Its only a matter of which syntax you choose.
Posted
VB.NET only has to deal with backward compatibility if you force it to. They both compile to the same intermediate language, yes, but that doesn't mean they compile the exact same way. The only difference in performance that I know is that C# uses the garbage collector slightly more aggressively.
Gamer extraordinaire. Programmer wannabe.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...