LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Fastest programming language? (https://www.linuxquestions.org/questions/programming-9/fastest-programming-language-29587/)

Eits0 09-04-2002 01:12 PM

Fastest programming language?
 
Huom! In this poll, I don't mean fastest application speed, but how fast it's to write the code.

I've heard rumours here and there that Python is fastest language with practical use (unlike BASIC). Some people are even telling me that one puthon programmer can do same job in one month that takes year from C++ programmer.
That would be awesome speed.

acid_kewpie 09-04-2002 01:32 PM

python is clever, but not *that* much quicker to write, that rumour is utter cr*p and i love python... it's also not a programming language, but i'll ignore that for now.

there's not really a huge amount of "poll"iness about the question really. naturally assembly is the slowest, not really up for debate. then you move through fortran and pascal i guess, then basic, then i guess c then java and c++ together really, then perl and python close at the top. obviosuly it all depends what you're doing with it.... if you're problem would benefit from object orientation that c++ and Java (and *some* perl and python) take over the lead...

no2nt 09-04-2002 01:59 PM

Interesting poll..

I think programming speed is directly correlative with how well a coder
understands a programming language and what functions/strengths/weaknesses
it provides (compared to other languages).

Personally, I like to use PHP for prototyping and C, Java, or Pascal for
writing the actual application. There are things I would use C for that
only C could do, etc.

Quote:

I've heard rumours here and there that Python is fastest language with practical use (unlike BASIC). Some people are even telling me that one puthon programmer can do same job in one month that takes year from C++ programmer.
We heard the same thing about Java compared to C++ when Java
first appeared. It would be true if one of our junior programmers was
writing an app in C++ and one of our level 5's was writing the same
app in Java. Apples to oranges.

Ztyx 09-04-2002 02:23 PM

Hehe, not many votes yet :-)

Mara 09-04-2002 02:56 PM

Assembler generates the fastest code. But it's not the fastest to write. :)

Bert 09-04-2002 03:28 PM

Eits0, this poll is nearly as daft as your Linux Knowledge test. Is the speed of writing the code really relevant to anything?

Seymour Cray wrote his first OS in octal. And he was quick. And his systems worked first time usually.

So my vote goes to octal - the fastest programming language there is!!

Bert

cyent 09-04-2002 04:12 PM

Why poll when you can measure....
http://cristal.inria.fr/ICFP2001/prog-contest/

http://www.uni-karlsruhe.de/~uu9r/la...ng-all.en.html

Eits0 09-05-2002 09:22 AM

Bert:
I'm really sorry for traumas my Test your linux knowledge- poll caused to you, where my own knowledge was somewhere between 0 and 100 (in scala of 1-100).
Hmm, octal. Never heard about it... time for googolplex search!

This poll is not real poll either, just want to hear your opinions.
Reason:
I'm one hellova lazy man to do anything in long haul. That's why I want fast programming language to learn.
Nothing serious. (also Linus Torvalds said that about Linux :) )

llama_meme 09-05-2002 09:46 AM

ROFL, octal means a base 8 number system, i.e. machine code.

As for the fastest language thing, making a poll out of it kind of trivialises the issue. Beardy professors could argue over it for years.

Personally I find LISP is good for writing programs with complex data structures, and Python's good for doing relatively simple things quickly. Java, C and C++ are slow for pretty much everything, although Java's big class library helps out a lot. Functional languages like Haskell and ML often express abstract mathematical things very concisely, and apparently are good for writing complex parsers (no personal experience with this, though). But they aren't much use for more practical tasks like doing a pretty GUI, partly becuse they currently lack a good set of libraries (which is one of Python and Perl's big advantages).

So in conclusion, ask a silly question, get a long rambling boring answer ;)

Alex

Mara 09-05-2002 09:52 AM

Quote:

Originally posted by Bert

So my vote goes to octal - the fastest programming language there is!!

Well, hexadecimal would be faster :D

crabboy 09-05-2002 09:32 PM

Based on any project big or small, Java would have to get my vote. The vast amount of packages that are available for Java make just about anything easy to do. DB access, Client/Server, web services, all easy in Java, where in a language like C++ it's not so easy.

As for running speed, anything closer to the machine level is better. Java is a dog slow memory hog, part of the reason why i'm not a big fan. Now is programming in Assembler faster than C, if you know what you are doing, yes, if not the compiler can likely provide more efficient code.

Bert 09-06-2002 02:06 PM

Quote:

Originally posted by Mara
Well, hexadecimal would be faster :D
"There are only 10 types of people in the world - those who think in binary and those who don't"

- someoneorother

Bert

Mara 09-06-2002 02:38 PM

Quote:

Originally posted by Bert
"There are only 10 types of people in the world - those who think in binary and those who don't"

- someoneorother

Bert

Right, but hexadecimal is just a method to write binary in a shorter way (the same with octal).

Bert 09-06-2002 02:42 PM

Yes, it is.
Sorry - I was just being a smartarse with that quote.
That one was for Eits0 really ;)

Bert

Mara 09-06-2002 02:56 PM

No problem :)


All times are GMT -5. The time now is 09:57 PM.