ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
View Poll Results: What is your favorite language?
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.
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..
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).
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.
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. ^_^;;