An endeavour to break up modern-day codes “confusion” from an engineering perspective. Hopefully fairly intelligible
A lot of this most of you probably know, though sometimes who licenses what (and when) can be a bit obscure.
Mainframe Computers are installed wherever "zero downtime" is essential — in hospitals, government departments, airports, banks and other large companies. The majority of these run on IBM mainframes, using z/OS — IBM's flagship operating system.
AT&T’s Unix (with its offshoot Linux), and Windows Server (owned by Microsoft) are the two major operating systems available.
Regarding the web, it was built on the HTTP protocol developed by Tim Berners-Lee in 1990 on Steve Jobs's Unix-based NextStep computers in Geneva. Its goal was to be able to have a standard for two-way communication with computers anywhere in the world, by using an easy-to-read interface language that he called HTML. Click here for further background on how that unfolded. Click here for the Apache Web Server, the world's most popular web software, based on Tim Berners-Lee's work.
Like all operating systems, (including those running on Mainframes, Desktops and Mobile computers), each system oversees one or more arithmetic/logic units inside its single or multi-core processor chip, a small amount of processor memory registers, a program counter i.e. a “where am I in the program?” register that contains the program's next memory address, the “am I reading or writing?” control line, a "data ready? YN" control line, and a “back side bus” — an internal memory cache that also lives inside this processor chip. The processor is connected to a “front side bus“ — memory communication lines that communicate with the computer’s main memory, also separate lines for external peripherals connected via expansion cards e.g. hard-disk drive, solid-state drive, modem, mouse, screen, keyboard, DVD etc.
Desktop Computers are nearly 90% Microsoft Windows, with most of the rest running on Apple Macs on OS X, a version of Unix. They both mostly use an Intel chip — whose instruction set is commonly called the x86 (32 bit) instruction set from their original 16 bit micro computer processing architecture written back in the 1970s. AMD were licensed by Intel to become a "second source" supplier for Intel processors. And in some ways they made the architecture better, or cheaper. In interesting irony, when Intel released an instruction set (IA-64) for their 64 bit processor in 2001, AMD, working on the 32 bit x86 model, refused to copy it and released their own instruction set (AMD64 in 2003). Very confusing for 64-bit programmers on the outside programming applications for 64-bit Windows XP. So 64-bit processing was hardly ever sold, too risky.
In 2006 Intel released a variation called x86-64 or Intel 64 picking up the AMD model. It is now the standard for 64-bit Windows based programs. Click here for further background to this issue.
Click here for Visual Studio, the Microsoft Windows development platform for its major languages: C# and C++, also C and
For further information about developing software on Apple devices, click here for XCode, free from Apple. It works mainly with Apple's major programming languages:
Click here for Android Studio, free from Google, for developing Java programs. It has tended to replace Eclipse, a development platform originally written by IBM.
x86 CISC Opcodes: The Intel x86 architecture, derived from the Intel 8080 architecture released back in 1974, is referred to as variable length CISC complex instruction set coding, with its constants and address offsets loaded separately, apart from the opcode. Each opcode instruction needs to be decoded inside the chip, generating multiple lines of microcode, which then require several processing cycles to execute.
Click here for a recent Intel reference list in 2014, sorted alphabetically. Click here for an older 32-bit list, sorted numerically.
Click here and here for the original 8-bit Intel 8080 Instruction Set in 1974 and the Clock cycles involved. These were the basis for its popular 8086 chip that had 16 bits (64K) as its largest register value, and 20 bits (1 megabyte) of memory addressability (working with two registers, a segment address register and an offset address register).
MS-DOS (PC DOS), which became Intel's dominant PC operating system after 1981, relied on BIOS firmware services found on a chip — microcode-implemented instruction sets for disk, keyboard, and text output functions.
Today MS Windows and Linux have generally stopped using this BIOS chip, replacing it with UEFI instructions found on the hard drive. Then, after loading the operating system into memory, they access all hardware components via low-level device drivers found in the operating system's "kernel".
Click here for more on today's MS Windows model.
ARM RISC Opcodes: Click here for ARM's background to its low power, fixed length (32 bit) RISC reduced instruction set coding that runs on mobile computers such as Apple's iPhone and iPads, and Google's Android smartphones and tablets. Each "simple" instruction takes the place of microcode, and although there are many more of them compared to CISC, each one, theoretically, takes only one processing cycle to execute. Note too, unlike Apple, Google's Android manufacturers require firmware to be loaded, thus employ a "Just-in-time" compilation (via an Android Runtime) to generate these "simple" instructions on its devices.
Now, with every processing cycle say, on a 1ghz machine (i.e. 1 billion pulses / cycles per second), 64 bit processors can theoretically address anywhere up to 18,446,744,073,709,551,615 (2^64) internal memory points, reading or writing a data range from ± 10-308 ... 10308 with 15-17 decimal digits precision numerically, or 8 ASCII alpha-numeric characters with each computer cycle. Graphically, that enables very rapid “pixel-mapping”. This contrasts with 32 bit chips, whose memory address maximum is 4 gigabytes, 4 billion addresses on any single computer and 32 bits (4 ASCII alpha-numeric characters) each cycle.
When the data is higher than the processor can handle in a single cycle, then it needs to use additional machine cycles, for “carrying” its previous calculation results. And it can’t execute a program line that refers to an address that’s outside its address range. This is why the operating system (if it’s 32 bit), can’t run a 64 bit program with 64 bit memory addresses. However the reverse is normally ok, a 32 bit program is fine, both on 32-bit and 64-bit operating systems.
Firstly, there are two main types of computer cables, a power cable and a data cable. The power cable is any cable that powers the device. The data cable is a cable to provide communication between devices.
The transmission of a single-ended signal, say ±5 volts, between a computer's memory and a serial device such as a keyboard, a computer screen, or a dial-up telephone modem, occurs by synchronizing the clock signal of the computer and the device, and then in a single clock cycle — for a definition of a "clock cycle" - see below — a predefined difference in the voltage levels between the signal wire and the ground wire, with the signal wire being, say, positively charged, will equal a "1" or a single digital computer bit. If this level remains constant for two clock cycles that would be "11".
If it switches to a negative voltage for four clock cycles that would be "0000". Back to a positive charge for two clock cycles for "11".
Thus the positive/negative voltage combined with the clock signal enables the transmission of 8 bits as "11000011" , which translates into a single byte or character. Quite similar to sending (and receiving) Morse code, except the "byte" size is fixed. A collection of bytes — say 1500 bytes or so — is called a packet which can then get converted by a dial up telephone modem to a narrowband transmission signal over your telephone cable to your local ISP. Each of the Internet packets contains a header section. The header contains the destination IP address and the source IP address which enables switching i.e. forwarding through individual routers to a destination and then a reply sent back to the source.
Faster than dialup is continuous broadband Internet transmission, which employs high frequencies over an ADSL modem or a fibre-optic / coaxial Cable modem connected to most home computers now via ubiquitous
Now back to digital signals and clock cycles. A computer's clock signal is determined by a quartz crystal which oscillates (vibrates) at a certain frequency and is usually expressed in MHz (mega-hertz, million of cycles/second) or GHz (giga-hertz, billion of cycles/second). Computer microprocessors execute their instructions, like adding two numbers together, measured by these clock cycles. In contrast to the serial link mentioned above, a 32-bit microprocessor has a group of 32 wires, called a data path or a parallel bus, and will transmit 32 bits along this computer bus - from memory - through the processor and its ALU (arithmetic/logic unit) and back to memory again in a set number of cycles. And in this scenario, 3.3 volts (High Level) on a wire is a "1" and zero volts (Low Level) on a wire a "0".
Click here to read a great article on the German chap who "wirelessly" explored this brilliant "Clock Cycle" principle.
And click here to read about the convoluted process over thousands of years, under no one person or group's control, by which today's clock/calendar came into being culminating in its use worldwide over the past 100 years.