Questions tagged [systems-programming]

16 questions
37
votes
7 answers

what exactly is system programming?

I have never understood what system programming meant. The usual definition given is "...doing something close to the Os or extending Os features...". Does using Windows API directly rather than some libraries to say do file i/o make it system…
kentjh
  • 387
  • 1
  • 3
  • 3
22
votes
7 answers

How do programmers deal with low level software development in high level languages?

I am somewhat new to programming and the best way I can ask this question is with an example. I know how to do basic things in Java and C#. Things like a small windows forms application or make a generic class. I've basically been learning and…
fender1901
  • 485
  • 1
  • 4
  • 9
11
votes
8 answers

How can calculus and linear algebra be useful to a system programmer?

I found a website saying that calculus and linear algebra are necessary for System Programming. System Programming, as far as I know, is about osdev, drivers, utilities and so on. I just can't figure out how calculus and linear algebra can be…
Victor
  • 498
  • 1
  • 4
  • 14
8
votes
3 answers

Getting started with system programming?

Ever since I discovered programming five years ago, I've done a lot of things. I've learned numerous programming languages and technologies and tried out many interesting things. I've written games, both console and with graphics, console and…
Ryan
  • 825
  • 2
  • 10
  • 10
8
votes
4 answers

File shredder algorithm

As a part of learning system programming, I am looking to implement a file shredder. The simplest way (and probably seen as naive) would be to replace the data bytes with zeroes (I know OS splits the files and I'll replace bytes in all those…
Mike
  • 81
  • 1
7
votes
4 answers

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

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 in it. Now, putting the Linux kernel aside, which…
Anto
  • 11,157
  • 13
  • 67
  • 103
4
votes
5 answers

System Programming & Object Oriented Design - what to look out for

Next semester (starts in just under 5 weeks), I'm taking System Programming and OOD concurrently. Apparently SP centers on working in C on Linux, and I only have Java and Python experience, so I am a little nervous about this. For those of you…
Jason
  • 746
  • 4
  • 14
4
votes
2 answers

How do I implement the bg, &, and fg commands functionaliity in my custom unix shell program written in C

I am extending the functionality of a custom unix shell which I wrote as part of my lab assignment. It currently supports all commands through execvp calls, in-built commands like pwd, cd, history, echo and export, and also redirection and pipes.…
user1631009
  • 163
  • 1
  • 1
  • 3
3
votes
2 answers

What features should the next systems language come with?

It seems like we still resort to C or C++ when we are going to do "serious" systems programming. We have some small languages which try to come up with new stuff inside systems programming such as Go and D (I have had a little experience with D and…
Anto
  • 11,157
  • 13
  • 67
  • 103
3
votes
3 answers

Avoiding polling with components

Once you create separate components that need to communicate with each other you enter the realm of systems programming where you have to assume that errors could originate at any step in the process. You throw try-catch blocks out the window and…
3
votes
1 answer

Web applications have "the todo list." What analogous program is there for systems programming?

You can find many frameworks with an example todo list for demonstrating a small but full application in the framework. You don't have to consider large problems like scaling or caching, but you still exercise most of the fundamentals of that…
Mark Rushakoff
  • 1,734
  • 14
  • 14
3
votes
3 answers

Diving into microcontroller programming

I just got a batch of LED matrix modules from Sure Electronics (http://www.sureelectronics.net/goods.php?id=1120) and a driver board (http://www.sureelectronics.net/goods.php?id=972). I've got it wired up, and connected to my Mac. I found the right…
2
votes
1 answer

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

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 minimal amounts of x86 Assembly (should I improve…
Anto
  • 11,157
  • 13
  • 67
  • 103
1
vote
1 answer

Side-by-side Configuration on Linux/ELF

One of the best/worst Microsoft software innovations (great for compatibility; terrible for efficiency) has been Windows' Side by Side Configuration. This allows, among other things, for different components of a program to have multiple versions of…
0
votes
2 answers

Measuring an enterprises reliance upon software

In bidding a complex project for a client, I wanted a way to determine their reliance upon software. They have many people doing manual entry and Excel spreadsheets power many pieces as well as legacy code and some off the shlef solutions that do…
1
2