Computer Science
- Home /
- Categories /
- Computer Science
Creating and Killing Child Processes in C
In order to execute another program within ours or to execute part of our program simultaneously, it can often be very useful to create child processes. Then, all we need to do is patiently wait for them to finish their tasks, or, if we’re feeling particularly murderous, kill them prematurely!
Read MoreThe Difference Between a Terminal, a Console and a Shell
Diving deeper into the computer science world, we often come across the terms “terminal”, “console” and “shell”, which seem to be used more or less interchangeably. Is that really the case? And if not, what is the difference between all of these terms?
Read MoreBinary 010: The Uses of Bit Shifting and Bitwise Operations
Computers only know one language: binary. Our many programming languages allow us to give instructions in a human-readable format, which are then translated into long sequences of 0s and 1s. Although this level of abstraction is essential to us humans, it can be useful and even much more efficient to manipulate bits directly, thanks to bit shifting and bitwise operations.
Read MoreBinary 001: Counting and Calculating Like a Computer
As we all know, a computer only knows two things: 1s and 0s. Every letter in this sentence, every color, every second of a video or of a piece of music, every web page, every program is nothing other than a long string of 1s and 0s. This is binary, and if we hope to communicate efficiently with these machines as programmers, we must understand how this base 2 numbering system works.
Read More