LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How software works (https://www.linuxquestions.org/questions/linux-software-2/how-software-works-593459/)

megerdin 10-21-2007 09:53 AM

How software works
 
Hi friend
I want to know how software works in computer, And how its works with hardware. Is there any how to "How software works"

I tried with google but theres not any good howto

would u please help me!!

turbo_spool 10-21-2007 10:01 AM

Well, this is the subject that has me attending a university. I am a computer science student who studies, in some respects, 'how software works'. However, from the impression I get of your post you want a general overview on how a computer program is run. In my opinion, even if you don't ever plan on programming, if you pick up an 'Introduction to Computer Science' book somewhere (search amazon, there are bound to be plenty) it should tell you exactly that. It should cover such concepts as:

* The stored program concept (this is the heart of what is happening)
* Basic programming (the best way to know how software works is do it yourself)
* Basic hardware concepts (how memory is used etc...)

Like I said, this is the subject that forms the basis of careers, so you will just need to find a good book if you are really interested.

pixellany 10-21-2007 10:35 AM

Virtually all modern computing is based on the "Von Neumann architecture", in which the processor (CPU) fetches an instruction and/or data from memory, performs an operation, and then returns data to memory. The most basic software is simply those basic instructions---typically called the "instruction set" for the processor. You can search Google for the instruction set for a particular processor. To answer one of your questions: SW does not interact with just any hardware--it interacts with a processor. Most modern hardware contains small special-purpose processors.

Software is built in layers. First, the most primitive functions are coded, then higher-level code is written to call those primitives. Regardless of how the layers are arranged, it all gets compiled to the basic machine code.

Any good textbook on computer science will be a good place to start. Also a Google search using "computer software" will surely keep you busy for hours.

megerdin 10-22-2007 02:34 AM

thank u very much


All times are GMT -5. The time now is 12:11 AM.