LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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



Poll: What is your favorite language?
Be advised that this is a public poll: other users can see the choice(s) you selected.
Poll Options
What is your favorite language?

You must log in and have one post to vote in this poll. If you don't have an account, you can register here.
Results will be available after the polls close.

The nominees are:

C
C++
Java
Shell
Python
Other

Reply
 
Search this Thread
Old 08-25-2007, 01:49 PM   #31
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled

Maybe everyone should review this site, pick a few languages to try out, then decide which language is best. Of course, only after writing a representative selection of applications, libraries, and daemons with each one...
http://www.ntecs.de/old-hp/uu9r/lang/html/lang.en.html

ta0kira

PS I voted for C++ with C where the STL would just be ridiculous and where I want to use glibc.

PPS Maybe the poll should be "Which language would you refuse to use if it was the last one on earth?"

Last edited by ta0kira; 08-25-2007 at 01:51 PM.
 
Old 08-25-2007, 04:07 PM   #32
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
Oh, that's easy. The answer is Malboge. Although at that point, it's not so much refusal to use, it's more like impossible to use.
 
Old 08-25-2007, 04:17 PM   #33
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by tuxdev View Post
Oh, that's easy. The answer is Malboge. Although at that point, it's not so much refusal to use, it's more like impossible to use.
What about whitespace?



Cheers,
Tink
 
Old 08-25-2007, 05:27 PM   #34
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by ghostdog74 View Post
so what have you gained so far from this poll?
I was surprised to see how few people voted for Java, and how many said C over C++. How about you?
 
Old 08-25-2007, 05:51 PM   #35
binutils
Member
 
Registered: Feb 2007
Posts: 59

Rep: Reputation: 15
gcc is my #1 fav

i like,

gcc, d, erlang, blue

http://gcc.gnu.org/
http://dgcc.sourceforge.net/
http://www.erlang.org/
http://www.lechak.info/blue/

gcc support for the tile64 ( i.e. c compiler for multi-cpu platform, ps3/powerpc)
http://www.tilera.com/products/processors.php
 
Old 08-25-2007, 07:23 PM   #36
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
Quote:
Originally Posted by jhwilliams View Post
I was surprised to see how few people voted for Java, and how many said C over C++. How about you?
JA (yes) it should VA (go) away.

Memory leaks, bad garbage collection, hung screens, locked up systems are all just a few of the fun things we get to play with due to Java.
 
Old 08-25-2007, 09:11 PM   #37
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Amen to that one ... I can't quite express how disgruntled I
am with the java-based middle-ware we're (have to?) using
without violating forum rules.

I appreciate that it's clean, and easy to code in ... but
just how much hardware are we supposed to throw at those
piles of cr*p to make them perform in an acceptable manner?





Cheers,
Tink
 
Old 08-25-2007, 09:42 PM   #38
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
JA (yes) it should VA (go) away.
Please don't take my comment as even a suggestion of support for JAVA. I just thought a lot of people were lost in the abyss, still.

Poor Sun - I worked near their main campus in Burlington, MA. Several entrances to the campus have been roadblocked because there aren't employees there to use them. The new UltraSPARC looks promising though, and I still wish ZFS would go FOSS - or maybe GPL could tame down a bit to the advantage of LinuxZFS users. Maybe somebody can tell me why it doesn't make (political) sense to port kernel space ZFS? Pardon my rant - a wild departure from the thread!

Last edited by jhwilliams; 08-25-2007 at 09:48 PM.
 
Old 08-25-2007, 10:25 PM   #39
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 241Reputation: 241Reputation: 241
Quote:
Originally Posted by jhwilliams View Post
I was surprised to see how few people voted for Java, and how many said C over C++. How about you?
few people voted for Java, but that doesn't represent anything. when you do polls like this, you don't just put your polling question in one forum. If you really want to get results, put your question across different forums. then there are other things to consider like duplicates, whether you have bias..etc...Imagine if you post your question in a Java forum..how many Java enthusiasts will vote for Java ?? precisely why i say its useless...
 
Old 08-25-2007, 10:31 PM   #40
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by ghostdog74 View Post
precisely why i say its useless...
Dude, what's your beef with my poll?; do you want to throw down e-fisticuffs?

As for your post though: the many corners of the internet are the best resources for current languages, however noone wants to go to promoteASP.net to take polls on programming.
 
Old 08-25-2007, 10:50 PM   #41
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 241Reputation: 241Reputation: 241
Quote:
Originally Posted by jhwilliams View Post
Dude, what's your beef with my poll?; do you want to throw down e-fisticuffs?

As for your post though: the many corners of the internet are the best resources for current languages, however noone wants to go to promoteASP.net to take polls on programming.
if you can't understand what i say, then too bad for you.
 
Old 08-25-2007, 10:54 PM   #42
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Original Poster
Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by ghostdog74 View Post
if you can't understand what i say, then too bad for you.
Rather, good sir.
 
Old 08-26-2007, 12:15 AM   #43
JoeyAdams
Member
 
Registered: Jun 2006
Distribution: Kubuntu Hardy
Posts: 94

Rep: Reputation: 15
I like C because it lets you work with memory more directly so that programs aren't slow (and doing this isn't frowned upon). What I don't like about it, though, is that the C standard library isn't as advanced as other libraries like STL, therefore leaving people with two primary choices: write a fast, efficient program in C with a limited standard library, or use a higher-level programming language and its encapsulated libraries without being able to manipulate the memory directly. One of the fundamental problems I see in the C library is that you can't get the size of a malloc-ed buffer without having a backup of it somewhere, thus causing many other functions in the standard library to not be as dynamic (i.e. you have to create 10000 character arrays to use fgets with large lines, and that still doesn't compensate for even longer lines). Why can't routines like fgets just resize the buffer when necessary? That shouldn't incur much of a speed penalty, especially compared to STL and other libraries/languages that let you create dynamic arrays and work with them easily.

I'm writing a personal library that deals with this by abstracting malloc/realloc/free so that the buffer is stored like this:

[allocsize][size]data...

Where allocsize is the amount of space you can write to data without writing out of the valid bounds, and size is the logical size of data (e.g. how many characters, including the null terminator, are in a string). The pointer returned by the alloc function of this library points to 'data'.
 
Old 08-26-2007, 06:41 AM   #44
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
Java is a language where even a monkey could code. You make very few mistakes per line ususally because the semantics is tightened and very rarely ambiguious (It will do just what you want it to do). That's not always the case with C++ (we can only compare Java to C++, comparing Java to C doesn't make sense, C is not an object language)
It mixes well with UML and code generators and that's why a lot of industrial and scientific projects use it. Everything is out of the box, lots of objects, lots of methods... some good IDEs.
That said, I don't like Java. Sun was not able to define a real standard and all this licensing problems pushed me to not use it. Only when c# arrived, they changed their mind.. surprising..
C++ and STL are fun, I really like using it. You can mimic Java with C++/STL and can go even further. It's often quicker.
I'm currently working on a huge project using c++,c,corba,java,... and the only part of it where the UI often freezes is... well, you know
 
Old 08-26-2007, 09:20 PM   #45
iwasapenguin
Member
 
Registered: Jul 2007
Posts: 110

Rep: Reputation: 15
What about theoretical languages?
Laid back (for programmers with computers that would work in hot tubs).
Expresso (A properly compiled form of Java with an API more like C++ that I'm yet to invent).
That language that's perl and python mixed that one of my freinds though of in a fight with me over which language to use.
 
  


Reply

Tags
language, programming


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
whats you favorite 802.11b sniffing application? GNUROCKS Linux - Wireless Networking 5 08-27-2007 04:10 PM
Favorite language DanTaylor Programming 10 03-16-2006 03:58 PM
Which is your favorite language and why? WindowsBurner Programming 40 10-06-2004 10:54 AM
Preferred Language For Application? Crashed_Again Programming 3 12-06-2003 02:09 PM
Favorite scripting language rverlander General 8 09-02-2002 06:06 AM


All times are GMT -5. The time now is 04:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration