speed difference?

G

Guest

I've been coding in VB.NET since beta and C# also since beta. I've noticed on
some programs the C# version returns the data quicker then the VB.NET
version.
Now since 2005 came out i've been coding in that now as well. I have a web
service in VB.NET and i created a few methods of that service in C# - 2005
verison. The methods call the same SP, DB and return the same data. Now I did
a side by side test of both versions of the web service and the C# version is
returning the data quicker.

Now my question is, is there really a performance difference between
languages or no, or is it that .NET v2 framework is different then V1?

thx
 
G

Guest

If the code is built using the same methods, and the same .NET methodologies,
it should compile equally. There are still a few cases where this is not
true, but they are few and far between. If you use the VB "crutches", you
will be slower. Compare IL in ILDASM and you will see the differences.

---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top