LinuxQuestions.org
Visit Jeremy's Blog.
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-26-2007, 10:00 PM   #46
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115

Quote:
Originally Posted by jhwilliams View Post
You guys are writing applications in Assembly ?
I was doing some assembler earlier today. I'm integrating a single board computer running linux with a Texas Instruments digital signal processor over the PCI bus. I pretty well have my Linux kernel driver written, but in order to get the whole thing working, I need some code running on the DSP side.

The DSP doesn't have an operating system, so I am using a cross-compiling development environment for it, which lets me develop in Windows (actually, FORCES me to develop in Windows) and compile for the DSP. The development environment supports C and assembler, and I am doing my development in a mixture of both, inlining assembler where I need the speed.

Because at this point in time I am trying to make the PCI interface run as fast as possible, I have been doing some assembler work on the DSP AND I have been doing some x86 assembler on the single board computer.

Assembler is far from "useless" as someone posted on this thread; in fact, it is the lowest level of abstraction in the machine and all the other languages, ultimately, are built up from the underlying assembler - although by the time you get to the highest level languages, it is abstracted so far that you might never realize it.
 
Old 08-27-2007, 06:32 AM   #47
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 53
No no no! I never said it's useless, I said my first experience with assembly language was very exiting but kindoff useless and only for education purpose. Then I said that in some cases it's needed. I love this language. I just couldn't let you pick only one sentence out of my post..
As an example I also developped for analogDSP an fft (canary) library used for triangulation for a robot. It (He?) was then able to detect its position based on three radio emitter placed in the room. What a pain when comparing x86 assembly to DSP assembly. Only comparison to 0, only one address and I had no high level environment, only a pot of nutella and lots of coffee
Last experience was embended Linux 2.0 (TI tm320 or something like that) talking to an integrated modem which was using a DSP (the modem was made by us, from scratch) In the end, we did not manage completly (the modem sometimes didn't detect the carrier) and had to rent the guy who did the code.. He could natively speak assembly language and was able to generate some dtmf only with his mouth..

Last edited by nx5000; 08-27-2007 at 06:35 AM.
 
Old 08-27-2007, 08:42 AM   #48
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Quote:
Originally Posted by iwasapenguin View Post
What about theoretical languages?
Are all theoretical languages self-hosting? If so, they should win by that virtue alone!
ta0kira
 
Old 08-27-2007, 09:32 AM   #49
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
My favorite to code in is x86 Assembly. The one that I consider the best designed language is Modula-2. I also really like C and Java... The language actually selected though depends on the task... There's a lot of people that like Perl and PHP, but personally I consider them scripting languages and not heavy duty programming languages (sort of like Postscript, the "printer language" that can actually be used as a general purpose language as well).
 
Old 08-27-2007, 05:49 PM   #50
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 273

Rep: Reputation: 48
Quote:
Originally Posted by jhwilliams View Post
Obviously different languages are good for different things.. What's your vote?
Ruby by far.
 
Old 08-27-2007, 10:00 PM   #51
the_scourge
LQ Newbie
 
Registered: Feb 2006
Posts: 9

Rep: Reputation: 0
Quote:
Originally Posted by Tinkster View Post
Omitting perl was a crime :}
I'd mod you up if I had mod points.
 
Old 08-27-2007, 10:30 PM   #52
drlasterjr
LQ Newbie
 
Registered: Apr 2006
Location: West Long Branch, NJ
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
C is prefered but the key is the use

I generally prefer "C" for writing applications but as I have told many people over the years the key to a language choice is dependent on the project. I done serious coding in Assembler based environment (Series 3200 for those recognize the description), INTEL assembler, FORTRAN, Pascal, "C" and C++, various shell scripts, etc. I have played with web environments and would probably use PHP or Perl.

The key is to choose the right language for the project and to not lock yourself into a language that is not suitable for the project.
 
Old 08-28-2007, 12:16 AM   #53
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 273

Rep: Reputation: 48
Talking Don't worry...

Quote:
Originally Posted by the_scourge View Post
I'd mod you up if I had mod points.
I'd mod you down if I had.... ;-))

Ptui! Next you'll be saying vi's is Good! ;-)

(I'm just teasing....)
 
Old 08-28-2007, 01:05 AM   #54
Gryyphyn
Member
 
Registered: Dec 2006
Location: Ogden, UT (Go OALUG!)
Distribution: OpenSuSE 10.1
Posts: 61

Rep: Reputation: 15
Cool

Quote:
Originally Posted by jiml8 View Post
Never heard of Visual Basic? Granted that it isn't more than passingly related to the original Basic, it still carries the name.



*shrug* I last programmed some fortran about 2 years ago. It is still in widespread use, mostly in labs I think. There is a GNU fortran compiler.

And as far as that goes, I was doing major Fortran work for many years before you were born, and was publishing magazine articles using it when you were still not potty trained.
Keep the anger down. Fortran is still in use, though to my knowledge the only people still using it program for either AT&t or telemarketing companies. That's not a joke, just the way I've seen it over the last few years.

VB is to basic as C is to C#: nothing more than the name in common anymore. Distant great^10 grandfathers from whence most languages came. It's just still useful.

My vote *would* be PHP or Perl, but I'm not much of a programmer so I stuck myself in other where I think I ought to be: I can script, I can write html. That's pretty much it. ^_^;;

Gryyphyn
 
Old 08-28-2007, 05:06 AM   #55
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 287

Rep: Reputation: 31
No Pascal?
 
Old 08-28-2007, 05:40 AM   #56
wolfger
LQ Newbie
 
Registered: Oct 2006
Distribution: Ubuntu - Feisty Fawn
Posts: 25
Blog Entries: 3

Rep: Reputation: 15
Wink

I'm beside myself with rage that Perl, the one true language, is not an option.
 
Old 08-28-2007, 07:08 AM   #57
Vampirite
Member
 
Registered: Apr 2005
Location: England
Distribution: Arch Linux
Posts: 223

Rep: Reputation: 30
Pascal was the first language I attempted, got me started!

Now Im trying to learn C++, which is why I voted for it, even though Im still no good at it!

C#??
 
Old 08-28-2007, 09:56 AM   #58
ocicat
Member
 
Registered: May 2007
Posts: 208

Rep: Reputation: 48
Quote:
Originally Posted by wolfger View Post
I'm beside myself with rage that Perl, the one true language, is not an option.
How true, but Haskell rules!
 
Old 08-28-2007, 12:44 PM   #59
wolfger
LQ Newbie
 
Registered: Oct 2006
Distribution: Ubuntu - Feisty Fawn
Posts: 25
Blog Entries: 3

Rep: Reputation: 15
Oh, I almost forgot... I am beside myself with rage that LOLCODE is excluded from the list, too.
 
Old 08-28-2007, 12:49 PM   #60
ryuo
LQ Newbie
 
Registered: Nov 2006
Posts: 4

Rep: Reputation: 0
I was delighted to see some support for my favorite language (Ada) but how come only one commenter mentioned Ruby? I would have expected an uproar...
 
  


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 10:52 AM.

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