You are not logged in. Please login at www.codechef.com to post your questions!

×

Which is fastest?

Can any one tell me which language is fastest of all?

asked 26 Apr '15, 12:08

codecademy's gravatar image

1★codecademy
219
accept rate: 0%


Assembly is probably the fastest!

link

answered 27 Apr '15, 01:00

alexvaleanu's gravatar image

4★alexvaleanu
5591312
accept rate: 7%

use C ! FAST AND COMPACT.....

link

answered 26 Apr '15, 13:57

radeonguy's gravatar image

1★radeonguy
1449
accept rate: 0%

well depends. I have learnt c in my first year and am comfortable using it. It is pretty fast and all that but as far as competitive coding goes nothing beats c++. looking forward to learn and master that since it saves a lot of time not only during compilation but also while coding.

link

answered 27 Apr '15, 02:03

atulshanbhag's gravatar image

4★atulshanbhag
22629
accept rate: 9%

Assembly is the fastest, caveat when tuned by someone a lot lot better than me. Only not here, why? Because you cannot call C standard functions, thus all I/O is via int(errupt) 0x80 aka system interrupt, which by it's very definition is sloooowwwww. It would be nice to be able to pass -lc to ld - hint ;).

link

answered 03 Aug '16, 02:57

marcoose777's gravatar image

0★marcoose777
1
accept rate: 0%

C is probably the fastest language that is also very popular. However, if you're thinking of competing/learning here on Codechef (and most other competitive programming sites), you do not necessarily need to learn the fastest language. As you can see here, time limits for the slower languages are adjusted so as to judge the submission by the algorithmic complexity of the approach rather than the speed of the programming language used :)

link

answered 03 Aug '16, 03:36

meooow's gravatar image

6★meooow ♦
7.3k720
accept rate: 48%

assembly language is fastest because it requires assembler to convert source-code into machine-code whereas high-level languages like c,c++,java requires compiler and assembler to convert source-code into machine-code, but it is difficult to write a code in assembly language.

link

answered 03 Aug '16, 05:42

ravishankar59's gravatar image

1★ravishankar59
1
accept rate: 0%

it will depend on your coding style too if your code is compact and save some cycles . than it will be surely furious then your other natives.

link

answered 03 Aug '16, 15:08

bhandari's gravatar image

0★bhandari
1
accept rate: 0%

c++ is fast and the best programming language in competitive programming

link

answered 03 Aug '16, 23:46

srihari_v's gravatar image

2★srihari_v
111
accept rate: 0%

toggle preview
Preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported
  • mathemetical formulas in Latex between $ symbol

Question tags:

×76

question asked: 26 Apr '15, 12:08

question was seen: 1,731 times

last updated: 03 Aug '16, 23:46