An operating system (OS) is a basic software whose rule is to intermediate software requisitions for resources and the hardware available, manage input/output, memory allocation/deallocation, file systems, among other basic tasks a device should do.

learn more… | top users | synonyms (1)

7
votes
5answers
3k views

Is it a good idea to write an OS in a scripting language? [closed]

Is it a good idea to create an OS that's written in a scripting language? For example, how about creating an OS using Python?
91
votes
4answers
30k views

What operating systems are used in airplanes, and what programming languages are they developed in? [closed]

I was wondering if anyone knows what is the operating system used in commercial airplanes (say Boeing or Airbus). Also, what is the (preferred) real-time programing language? I heard that Ada is used ...
2
votes
1answer
301 views

0.00006103515625 GB of RAM. Is .NET MicroFramework part of Windows CE?

The .NET MicroFramework claims to work on 64K RAM and has list of compatible targets vendors. At the same time, same vendors who ship hardware and create Board Support Packages (vendors like Adeneo) ...
1
vote
1answer
273 views

When to distinguish OS versions in canonical names for target platforms

I would like to organize my company's software releases by platform. I've looked at how Mozilla, Perforce, and Apache organize their releases, and it seems that I should partition by OS and processor ...
22
votes
8answers
4k views

Any basic difference between Unix and Linux in design and other aspects? [closed]

I keep reading this sentence: Linux is a Unix-like system, but it is not Unix. I don't know what's the real difference between the two. I know Linux got a lot of ideas from Unix and the licenses ...
7
votes
4answers
7k views

Why does ARM processors dominate Mobile platforms while x86 dominates Desktop/Server platforms

Almost all of the mobile phones, except the ones being produced by Intel, use ARM based processors while desktop/server industry is dominated x86 processors. What features does one provide over the ...
211
votes
15answers
53k views

Why was Tanenbaum wrong in the Tanenbaum-Torvalds debates?

I was recently assigned reading from the Tanenbaum-Torvalds debates in my OS class. In the debates, Tanenbaum makes some predictions: Microkernels are the future x86 will die out and RISC ...
1
vote
2answers
499 views

x86 segmentation and threading

Is some connection between using x86 segmentation and a possible implementation a thread package? I've been told that usually x86 segmentation is implemented in operating systems these days with an ...
52
votes
16answers
7k views

Is it a waste of time to free resources before I exit a process? [duplicate]

Let's consider a fictional program that builds a linked list in the heap, and at the end of the program there is a loop that frees all the nodes, and then exits. For this case let's say the linked ...
7
votes
1answer
751 views

What are the main bottlenecks to know about Java portability?

Java is known to be portable; "compile once, run anywhere". I know this is often true because I have many times deployed jar or war without any cross-platform troubles. Still, I am left wondering if ...
0
votes
2answers
226 views

Windows OS design decisions [closed]

I've seen an interview with Richard Stallman some time ago, and he was asked a question about security and Windows OS which he answered saying that there are some relatively bad design decisions that ...
2
votes
1answer
888 views

Confused About Virtual Memory for All Processes

I hope this is the right place. This is a homework assignment for my Operating Systems course and I have to implement a working virtual memory system in C++ so programming is directly involved. I've ...
1
vote
4answers
480 views

Why high-tech OSs (like UNIX family) are mostly command based (rather than GUI based)? [closed]

DR-DOS, Plan, BSD, Sun Solaris, HP/UX, OpenServer.....and so on. Why high-tech OSs (like UNIX family) are mostly command based (rather than GUI based)?
2
votes
3answers
3k views

Object-Oriented Operating System

As I thought about writing an operating system, I came across a point that I really couldn't figure out on my own: Can an operating system truly be written in an Object-Oriented Programming (OOP) ...
19
votes
8answers
5k views

Are there any OS which are simple enough for learning? [closed]

I would really like to understand how an operating system works behind the scenes. However, I think that the kernel of most open-source OSs out there are too complex for learning purposes, even for a ...
13
votes
8answers
1k views

What exactly is distributed computing? [closed]

So I'm a senior in college and a couple of weeks ago, I interviewed at Microsoft for an entry-level SDE position. While most of the interviews (out of the total 7) were on the general principles of ...
4
votes
5answers
503 views

How does a developer set up an environment to hack on an OS like Linux, Plan9 or BSD?

I've always found it daunting and confusing how an OS hacker sets up their workflow. As a web-developer I find it easy to set up a workflow because web-sites run on servers and as such my OS is never ...
8
votes
8answers
1k views

What are the consequences of still sticking with Windows XP despite there are Windows Vista, 7 and very soon 8? [closed]

From a .Net programmer perspective, what are the consequences of still sticking with Windows XP despite there are Windows Vista, 7 and very soon 8? How does having windows XP limit programmers ...
5
votes
2answers
551 views

Programming your own linux distribution?

So, during the couple of days I've been thinking what it takes to make your own linux distribution. Where should I actually start? I'd like to have some very basic tips for this. I consider myself a ...
4
votes
2answers
1k views

Is it possible to create and boot a scratch-built Operating System for iTouch devices?

So, what would I need to write "Hello world" on the iPod Touch on boot? Make that the entire operating system? Which compiler would I use, how would the graphics be done...? Can this be done without ...
27
votes
7answers
5k views

Why (not) segmentation?

I am studying operating systems and the x86 architecture, and while I was reading about segmentation and paging I naturally was curious how modern OSes handle memory management. From what I found ...
3
votes
1answer
5k views

Understanding Application binary interface (ABI)

I am trying to understand the concept of Application binary interface (ABI). From The Linux Kernel Primer: An ABI is a set of conventions that allows a linker to combine separately compiled ...
1
vote
3answers
2k views

Compiler/OS Design - Where to start [closed]

I have a fairly strong background in C and Assembly and I am starting to look into basic compiler and operating systems design, but my biggest problem is where I should really start, seeing as both ...
0
votes
4answers
607 views

What is a Real-time system [closed]

What is the most appropriate definition of a Real time system? Is online railway reservation a real time system ? Is Aircraft control system a real time system? Is Process control system a real time ...
4
votes
4answers
259 views

Useful Pre-requisites for Operating Systems course?

How important is knowledge of data structures and algorithms for an Operating Systems and Systems Programming course where we will be required to design and implement a kernel of a real-time operating ...
412
votes
33answers
198k views

How do I create my own programming language and a compiler for it [closed]

I am thorough with programming and have come across languages including BASIC, FORTRAN, COBOL, LISP, LOGO, Java, C++, C, MATLAB, Mathematica, Python, Ruby, Perl, JavaScript, Assembly and so on. I ...
13
votes
3answers
3k views

How does multitasking work

I am completely clueless about the inner workings of an operating system, but I can more or less guess the approximate behaviour of many functions. One thing that I am not able to figure out, though, ...
9
votes
4answers
964 views

OS Development in C++ Questions

As a Master's project, I am designing a simple operating system. It is being designed to run in 16-bit Real Mode on an x86 architecture. Ideally, I would like to develop this OS in C++, and only ...
14
votes
9answers
2k views

Is Ubuntu workable as a laptop for an IT consultant?

I work as a consultant programmer, typically in large businesses. I use a Windows Laptop, and many of my colleagues use a Mac. My personal preference would be to run Ubuntu if I could have complete ...
8
votes
4answers
999 views

Other than the Linux kernel, which operating system kernels should you study? [closed]

The Linux kernel is often listed as a code base which you are recommended to read and, even if it is poorly commented (or the files I have looked at have all been), it does have some really good code ...
13
votes
7answers
2k views

Why isn't SSL/TLS built into modern Operating Systems?

A lot of the basic network protocols that make up the infrastructure of the Internet are built in to most major Operating Systems. For example, TCP, UDP, and DNS are all built into Linux, UNIX and ...
17
votes
6answers
1k views

How did we get saddled with the (hierarchical) filesystem as the basic data structure?

I'm self-taught and I don't have a CS degree. The more I've been learning about data structure, the more I wonder, in this day and age, how are we still saddled with the filesystem, with directories ...
2
votes
1answer
595 views

Checking out systems programming, what should I learn, using what resources? [duplicate]

I have done some hobby application development, but now I'm interested in checking out systems programming (mainly operating systems, Linux kernel etc.). I know low-level languages like C, and I know ...
1
vote
3answers
402 views

Windows Hibernate API [closed]

Is it possible to programmatically trigger the Windows's Hibernate without actually Hibernating, just to take snapshot of the OS at regular intervals? So that the system can return to the previously ...
11
votes
4answers
307 views

Low Level Software and Devices [closed]

I'm looking at a new chapter in my career. I'm a web developer, but now I'm starting to play around with C, compilers, and things I didn't have to work with before. It's all very intriguing! As ...
10
votes
3answers
935 views

Is it a good idea to do TDD on low level components?

I'm considering writing a low level driver or OS components/kernels. The osdev.org folks seem to think that the important bits are not meaningfully testable this way, but I have read some discussions ...
13
votes
8answers
954 views

Do you think managed OSes are a good idea? [closed]

Managed OSes like Microsoft Singularity and JNode are quite an interesting concept. Essentially, the OS is bootstrapped with code written in a low-level language (C/C++/Assembly), which essentially ...