Results 1 to 6 of 6

Thread: vb Or c# For algorithm

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Location
    Here!!! In your computer.
    Posts
    2

    Question vb Or c# For algorithm

    hello, I'm new in this forum.. I have a question.

    I am in the imagine cup, in algorithm and I pass to round 2... And I need know what lenguaje have more velocity for create a algorithm.
    c# or VB ?

    Thanks.
    Last edited by Benjamin Z; Mar 19th, 2007 at 08:08 AM.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: vb Or c# For algorithm

    I don't understand what you're trying to say. Did you use an online translator? If so, I suggest you find a programming forum in your native language.

  3. #3

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Location
    Here!!! In your computer.
    Posts
    2

    Re: vb Or c# For algorithm

    I don't use a online translator.
    My question is simple.

    I compete in the imagine cup.

    I need create a algorithm for the round 2.


    What Lenguaje have more velocity in order to create a algorithm?


    * I'm sorry for my english.

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: vb Or c# For algorithm

    If you just want a comparison between VB.NET and C#: use whichever one you like better. They are almost exactly the same.

  5. #5
    Fanatic Member Slaine's Avatar
    Join Date
    Jul 2002
    Posts
    641

    Re: vb Or c# For algorithm

    The original poster is asking - given a certain algorithm implemented in both VB and C# which will run the fastest.

    In answer to the question, I would say that because both compile to the same intermediate language, which is then interpreted (mostly) on the fly, that there would probably be little difference between them.

    If you are aiming for ultimate speed then I would suggest using C, or perhaps even Machine Language.
    Martin J Wallace (Slaine)

  6. #6
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: vb Or c# For algorithm

    Assembly is faster (if the programmer is good). Forth (or similar postfix language) is probably the fastest (close to 50% faster than assembly in some cases), but programming in postfix is, at very best, extremely difficult for most people (and worse than impossible for some). Between VB.Net and C#, it depends on the algorithm. Most will be close, though, as has been said.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

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