LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: What is your favorite language?
C 51 40.48%
C++ 35 27.78%
Java 16 12.70%
Shell 17 13.49%
Python 20 15.87%
Other 33 26.19%
Multiple Choice Poll. Voters: 126. You may not vote on this poll

Reply
  Search this Thread
Old 08-26-2007, 09:00 PM   #46
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116

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, 05:32 AM   #47
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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 05:35 AM.
 
Old 08-27-2007, 07: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, 08: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, 04:49 PM   #50
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
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, 09: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, 09: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-27-2007, 11:16 PM   #53
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
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, 12: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, 04:06 AM   #55
SilentSam
Member
 
Registered: Aug 2007
Location: Ottawa
Distribution: Arch Linux/Kubuntu/OpenSUSE
Posts: 300

Rep: Reputation: 37
No Pascal?
 
Old 08-28-2007, 04: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, 06: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, 08: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, 11:44 AM   #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, 11:49 AM   #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



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 03:10 PM
Favorite language DanTaylor Programming 10 03-16-2006 02:58 PM
Which is your favorite language and why? WindowsBurner Programming 40 10-06-2004 09:54 AM
Preferred Language For Application? Crashed_Again Programming 3 12-06-2003 01:09 PM
Favorite scripting language rverlander General 8 09-02-2002 05:06 AM

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

All times are GMT -5. The time now is 09:14 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