Results 1 to 10 of 10

Thread: speed

  1. #1

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Arrow speed

    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
    Magiaus

    If I helped give me some points.

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    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.

  3. #3
    Tygur
    Guest
    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.
    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.


    VB.NET's speed is about even with C#'s speed. I don't know how C# compares with C++.

  4. #4

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Red face ok

    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
    Magiaus

    If I helped give me some points.

  5. #5
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150
    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 ?

  6. #6

    Thread Starter
    Frenzied Member Magiaus's Avatar
    Join Date
    Mar 2002
    Location
    swamp land
    Posts
    1,267

    Arrow HEY

    thats what i was waiting to hear

    cool
    Magiaus

    If I helped give me some points.

  7. #7
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    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.
    But he is not asking about all .Net languages. He is asking about C++ vs Visual Basic.

  8. #8
    Addicted Member
    Join Date
    Jun 2002
    Location
    Brisbane Australia
    Posts
    150
    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++ ??

  9. #9

  10. #10
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    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.

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