ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Language of teh speedy writers???!
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.
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...
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.
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 )
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.