how does vb.net compare to c\c++ for speed as far as graphocs and calculations go? and i haven't looked into yet but is there a direct x xor open gl namespace
Printable View
how does vb.net compare to c\c++ for speed as far as graphocs and calculations go? and i haven't looked into yet but is there a direct x xor open gl namespace
I don't know that much about graphic programming but as far as i know Visual Basic uses Direct X and Open GL is used by langauges such as C++. I have never seen any commerical games wether they be PS2, XBOX or arcade that have been programmed in VB. For speed C++ and assembler are tops.
Visual Basic (even VB.NET, at least for now) is bound to Windows. You can't make a VB program for another platform/os. This probably has a lot to do with it.Quote:
Originally posted by Dilenger4
I have never seen any commerical games wether they be PS2, XBOX or arcade that have been programmed in VB. For speed C++ and assembler are tops.
VB.NET's speed is about even with C#'s speed. I don't know how C# compares with C++.
this is what i am thinking about doing. i want to use vb.net or c# to write a dll that will do vector calculations for flash i asked about direct x and open gl because i might want to used the code i write for non webbased stuff that needs to be faster than flash can handle
and i bet you could write a x box game in vb i mean it is just a direct x os after all i bet the runtime is on there, think about in terms of release dates and of ease of development if you get my drift
I don't know much about graphics programming either, but wouldn't it make no difference in VB.NET as all .net languages use the same Common Language Runtime and compile to the same CPU-independenet bytecode - Microsoft Intermediate Language (MSIL). This should mean that all .NET languages have the same performance ?:p
thats what i was waiting to hear
cool :cool:
But he is not asking about all .Net languages. He is asking about C++ vs Visual Basic. :pQuote:
Posted by briancps
I don't know much about graphics programming either, but wouldn't it make no difference in VB.NET as all .net languages use the same Common Language Runtime and compile to the same CPU-independenet bytecode - Microsoft Intermediate Language (MSIL). This should mean that all .NET languages have the same performance ?
But he is not asking about all .Net languages. He is asking about C++ vs Visual Basic. :p
According to the documentation, VB.NET should execute any application as fast as any C language for .NET. Maybe the question should be - are C langauges for .NET as fast as Visual Studio 6 C++ ??:)
:D
According to Microsoft any languages running on .Net should perform faster due to the use of a managed heap. Normally when unmanaged code allocates memory on an unmanaged heap some sort of data structure has to be scanned to look for a free chunk of memory that is large enough to accomidate the allocation. So from what i have read and heard from others .Net is supposed to have faster memory allocation for objects. Plus now with the runtime managing the life of our objects for us instead of relying on the crappy COM refrence counting mechanism and having to deallocate memory using Class_Terminate life should be a lot easier. :)