LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 04-16-2007, 05:05 AM   #16
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62

Quote:
Originally Posted by introuble
Again I disagree. Let's replace "Linux" with "a Mercedes car" and "C" with mechanics. Can you get away knowing how a Mercedes works without an intricate knowledge of mechanics? Knowing "Ah .. it has a motor and some wheels which go on the ground etc." is not knowing how the car works. Knowing how the car works means knowing exactly how all it's components work individually and together. You've said that with C you know how to programmatically make a process run as a daemon but you can also do it with something like `./task &` or whatever. Perfectly agreed. But does that mean you know *how* linux does this task? You call fork(), etc. Great. What does the kernel do when you call fork()? That's my understanding of knowing how linux works. There's a difference between knowing how to use a tool and understanding how the tool works.
I Don't think that everyone will need to know car mechanics to drive. By the way, mechanics wouldn't be enough (you'll need to know eletronics, etc, since the modern car is a quite complicated mechanism). And I don't thinkg that everyone will need to know how exactly kernel works. It isn' necessary if you are only planning to use linux and write some programs for it.

Last edited by ErV; 04-16-2007 at 12:41 PM.
 
Old 04-16-2007, 12:16 PM   #17
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
Quote:
Originally Posted by moo-cow
"Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in" (Larry Wall).
HAHAHAHA...said the guy who created Perl. Speaking of hard-to-read languages...
I happen to like the way Lisp reads on the screen; I don't ever find myself getting as lost as to where certain control and flow structures reside (tab-wise).

Quote:
Originally Posted by introuble
Again I disagree. Let's replace "Linux" with "a Mercedes car" and "C" with mechanics. Can you get away knowing how a Mercedes works without an intricate knowledge of mechanics? Knowing "Ah .. it has a motor and some wheels which go on the ground etc." is not knowing how the car works. Knowing how the car works means knowing exactly how all it's components work individually and together. You've said that with C you know how to programmatically make a process run as a daemon but you can also do it with something like `./task &` or whatever. Perfectly agreed. But does that mean you know *how* linux does this task? You call fork(), etc. Great. What does the kernel do when you call fork()? That's my understanding of knowing how linux works. There's a difference between knowing how to use a tool and understanding how the tool works.
Alright, I see where you're coming from, now.
I'm in the boat that doesn't necessarily care how x does y, but as long as it does it, and does it within respectable means.

Quote:
Originally Posted by ErV
I Don't think that everyone will need to know car mechanics to drive. By the way, mechanics wouldn't be enough (you'll need to know eletronics, etc, since the modern car is a quite complecated mechanism).
Haha, I completely agree. When I read this, the first thing that came to mind was a stereotypical, suburbanite blonde driving her daddy's Ferrari up and down the main strip: She knows how to turn the key and work the gas and brake, but don't ask her where to find the doo-hickey that makes the music come on.

Last edited by indienick; 04-16-2007 at 12:20 PM.
 
Old 04-16-2007, 02:44 PM   #18
Zention
Member
 
Registered: Mar 2007
Posts: 119

Rep: Reputation: 16
Don't get me wrong I think Python is the bee nees when it comes to a dynamic RAD programming language.

But for linguistics there is Perl.

Perl was written by a linguist, I don't know, the only time I would advocate Perl and in the exact setting for it Python is there

And you know sed and awk but avoid the killer of them that is Perl, oh the irony.

You don't need to know C to use Linux well, but if you wish to appreciate coding then learning C is a requisite I would say, in fact don't stop there go to asm as well.

unix is built for C by C that is the history, so yeah go for it but it will probably not be used much in your day to day activities but then again who knows with you.
 
Old 04-16-2007, 09:22 PM   #19
binutils
Member
 
Registered: Feb 2007
Posts: 59

Rep: Reputation: 15
I would recommend computer structure({control, address, data} bus ) & c
http://csapp.cs.cmu.edu/

If you have enough time, take look gcc compiler source code.
http://gcc.gnu.org
 
Old 04-17-2007, 07:33 AM   #20
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Quote:
I Don't think that everyone will need to know car mechanics to drive.
Huf. Again. You don't need to know C in order to be able to use Linux. I completely agree. We're talking about UNDERSTANDING IT not USING IT.

Quote:
By the way, mechanics wouldn't be enough
I never said it would. It's not enough to know C in order to understand how Linux works.

Quote:
And I don't thinkg that everyone will need to know how exactly kernel works.
*I* surely never implied that. For that matter, I actually asked someone why I'd need programming if I only plan to listen to music on my Linux box.
 
Old 04-17-2007, 10:51 AM   #21
omnio
Member
 
Registered: Feb 2007
Location: $HOME
Distribution: Hardened Gentoo
Posts: 66
Blog Entries: 1

Rep: Reputation: 16
Probably some confusion here comes from the fact that we didn't define our concepts. What means "to understand" linux? Plus, usually there are more levels of understanding when it comes about everything, not just an OS. So, to understand it could mean to know its history, or how it boots through the runlevels, or what the packaging system does, what is the kernel, what does its code look like and how is it supposed to work, how the processor executes the code and so on. All these can mean "to understand" so it's probably up to you to choose how deep do you want to go.

Last edited by omnio; 04-17-2007 at 11:04 AM.
 
Old 05-03-2007, 08:42 PM   #22
totenengel
LQ Newbie
 
Registered: Jul 2004
Location: Virginia
Distribution: Fedora 7
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by moo-cow
In short, German communicative norms are shifting towards English ones, which is pretty interesting to say the least. Uh-oh, OT alert!
Was für ein Schade!
 
  


Reply



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
I don't understand Linux AT ALL scott123 Linux - Newbie 2 10-28-2006 11:06 PM
Help me understand linux! Sideburnz Linux - Newbie 12 03-29-2006 03:37 PM
my linux box doesn't understand... thepeeratt Linux - Security 5 11-21-2003 02:57 PM
Trying to understand linux quintino Linux - Newbie 3 02-02-2002 04:35 PM

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

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