LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Language of teh speedy writers???!
Python 4 6.90%
C 11 18.97%
C++ 8 13.79%
Fortran 0 0%
Assembler 13 22.41%
Java 8 13.79%
Pascal 3 5.17%
Perl 7 12.07%
Some other (don't vote if BASIC) 4 6.90%
Voters: 58. You may not vote on this poll

Reply
  Search this Thread
Old 09-04-2002, 01:12 PM   #1
Eits0
Member
 
Registered: May 2002
Location: Finland
Distribution: Mandrake 9.0
Posts: 188

Rep: Reputation: 30
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.
 
Old 09-04-2002, 01:32 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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...
 
Old 09-04-2002, 01:59 PM   #3
no2nt
Member
 
Registered: Aug 2001
Location: South Carolina, USA
Distribution: Redhat 8.0/Custom
Posts: 96

Rep: Reputation: 16
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.

Last edited by no2nt; 09-04-2002 at 02:03 PM.
 
Old 09-04-2002, 02:23 PM   #4
Ztyx
Member
 
Registered: Dec 2001
Location: Stockholm, Sweden
Distribution: Ubuntu, Kubuntu and Debian
Posts: 338

Rep: Reputation: 30
Hehe, not many votes yet :-)
 
Old 09-04-2002, 02:56 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Assembler generates the fastest code. But it's not the fastest to write.
 
Old 09-04-2002, 03:28 PM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
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
 
Old 09-04-2002, 04:12 PM   #7
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 351

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

http://www.uni-karlsruhe.de/~uu9r/la...ng-all.en.html
 
Old 09-05-2002, 09:22 AM   #8
Eits0
Member
 
Registered: May 2002
Location: Finland
Distribution: Mandrake 9.0
Posts: 188

Original Poster
Rep: Reputation: 30
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 )
 
Old 09-05-2002, 09:46 AM   #9
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
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

Last edited by llama_meme; 09-05-2002 at 09:53 AM.
 
Old 09-05-2002, 09:52 AM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Quote:
Originally posted by Bert

So my vote goes to octal - the fastest programming language there is!!
Well, hexadecimal would be faster
 
Old 09-05-2002, 09:32 PM   #11
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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.
 
Old 09-06-2002, 02:06 PM   #12
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

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

- someoneorother

Bert
 
Old 09-06-2002, 02:38 PM   #13
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
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).
 
Old 09-06-2002, 02:42 PM   #14
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Yes, it is.
Sorry - I was just being a smartarse with that quote.
That one was for Eits0 really

Bert
 
Old 09-06-2002, 02:56 PM   #15
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
No problem
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
which programming language is used to do tcp/ip programming?? gajaykrishnan Linux - Networking 9 12-21-2012 05:16 AM
Best programming language to use cudajaw Linux - Newbie 30 03-12-2005 04:09 AM
Programming language. jstephens84 Programming 11 11-18-2004 08:50 PM
programming language killi Programming 17 06-10-2003 05:24 PM
Programming Language Colonel Panic Programming 9 08-10-2001 01:57 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration