|
-
Mar 18th, 2007, 11:26 PM
#1
Thread Starter
New Member
-
Mar 19th, 2007, 12:55 AM
#2
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.
-
Mar 19th, 2007, 08:19 AM
#3
Thread Starter
New Member
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.
-
Mar 19th, 2007, 08:32 AM
#4
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.
-
Mar 19th, 2007, 09:52 AM
#5
Fanatic Member
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)
-
Mar 19th, 2007, 02:20 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|