Results 1 to 17 of 17

Thread: c # is faster than vb or not

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    fl
    Posts
    92

    c # is faster than vb or not

    vb 6 is too slow to handle string array, c # is same as vb or its faster? forget about c++ because i can't program in c++ i hope c# is easier.

    thanz in advance

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    fl
    Posts
    92
    I think C# string functions will be as lame as vbs

  3. #3
    Zaei
    Guest
    Why do you say that VB string functions are lame? They are the only reason I still use VB for anything.

    Z.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    fl
    Posts
    92
    vb's string functions are very slow. And I'm wondering C# will have the same problem.

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    You'd be a lot better off in C++ if you're only concerned for speed, and I agree with Zaei, the power in VB is it's strings and a range of other RAD tools that speeds up developement.
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    fl
    Posts
    92
    c++ difficulttttttttt to write in. I'm strugling with c++ for about a month and nothing happening. If c# allow me to build stand alone programs then i'll probably move to c#.

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    c# and the other .net apps will be stuck with their fat runtime
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    fl
    Posts
    92
    c++ 7.0 would need runtime too?

  9. #9
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    There's no such thing as 'C++ 7.0', C++ is a language, and I think you're talking about Visual C++, which is Microsoft's IDE and C++ compiler.

    C++ is never going to need runtimes other than those you make your apps rely on.

    C++ is just in a completely different league, playing a different game to C#. C# is a lot like Java in its principles; it's run in a virtual machine using the Common Language Runtime. C++ is compiled code, not interpreted.

    If speed of execution is your primary concern then use C or C++. If you are more interested in speed of development, then use something higher-level like Java, VB, C# or Python.

    It should be clear which is more appropriate for your situation because the languages are meant for very different purposes.
    Harry.

    "From one thing, know ten thousand things."

  10. #10
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You can compile C++ down to the CLR as well, in which case you'd need .NET as well.

    As it goes, I'm using beta 1 (not got anything else) of vc++7 as my normal development compiler - if I don't use the runtime DLLs then nobody need notice, and it makes my life easier.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You can compile C++ down to the CLR as well, in which case you'd need .NET as well.

    As it goes, I'm using beta 1 (not got anything else) of vc++7 as my normal development compiler - if I don't use the runtime DLLs then nobody need notice, and it makes my life easier.

    But I still use VB for databases or if I really need a windows program out fast - I usually just knock up a console-mode program in C++ for anything like that.

    For string handling, I'd take Perl any time though
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    Zaei
    Guest
    Console programs rock... brings back memories =).

    I usually only use VB if I want to test something graphical out quickly, or if I need to do some text file parsing.

    Z.

  13. #13
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    text file parsing, thats what i used VB for some months ago, other than that i can't remember. I've been using console apps all the time, testings and more testings, asm listings and testing again...
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  14. #14
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I use console when I want to test something of the language itself, GUI when testing something API and MFC for the real apps.
    The only contact with VB (the one that brought me here) was when I translated a VB algorithm to C (10-30 times faster )
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  15. #15
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by kedaman
    text file parsing, thats what i used VB for some months ago, other than that i can't remember. I've been using console apps all the time, testings and more testings, asm listings and testing again...
    I'm going to start getting nightmares about those sodding VC++ asm listings, I've seen so many
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  16. #16
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Originally posted by parksie
    I'm going to start getting nightmares about those sodding VC++ asm listings, I've seen so many
    ARGHHH! inline you bastard inline!
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  17. #17
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by kedaman
    ARGHHH! inline you bastard inline!


    But they won't
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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