15.04.2018 Views

programming-for-dummies

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

658<br />

Picking an Operating System<br />

entire programs because that was all they had available. However, as soon as<br />

assembly language appeared, few people wrote entirely in machine language.<br />

Instead, they switched to assembly language because it allows programmers<br />

to write more complicated programs.<br />

In the early days of personal computers, nearly every programmer used<br />

assembly language. One of the first popular word processors, WordStar, even<br />

ran on two different processors — the Zilog Z-80 and the Intel 8088. To run<br />

on these two different processors, the company had to write WordStar in<br />

two completely different assembly languages.<br />

When programs were fairly simple, that could be possible; but as programs<br />

grew in complexity, writing programs entirely in assembly language proved<br />

too cumbersome. That’s when programmers switched to C.<br />

Most operating systems today are written entirely in C <strong>for</strong> maximum efficiency;<br />

but as programs grow in complexity, C is quickly falling out of favor just as<br />

assembly language and machine language have done be<strong>for</strong>e. To maintain<br />

maximum efficiency to deal with growing complexity, most programmers<br />

have now switched to C++.<br />

In the future, the complexity of programs will always make today’s popular<br />

<strong>programming</strong> language too cumbersome to use tomorrow. So, it’s likely that<br />

today’s popular C++ language will one day become too clumsy to use <strong>for</strong> writing<br />

programs in the future. If you learn C++ today, plan on adapting and learning a<br />

newer <strong>programming</strong> language to write more complicated programs in the shortest<br />

amount of time.<br />

The successor to C++ will have to make writing complicated programs easier<br />

than C++ while retaining maximum efficiency. This language of the future will<br />

depend heavily on the operating systems of the future.<br />

Picking an Operating System<br />

In the early days of computers, every computer had its own operating system,<br />

which made writing programs difficult. Not only did you have to learn a specific<br />

<strong>programming</strong> language, but you also had to learn how to write programs <strong>for</strong> a<br />

specific operating system.<br />

To avoid this problem, computer companies standardized around a single<br />

operating system. The first standard operating system is CP/M-80, which<br />

later gave way to MS-DOS and finally to Microsoft Windows.<br />

Initially, a single operating system made writing programs easier because<br />

you had to write programs <strong>for</strong> only one operating system instead of a handful<br />

of operating systems. By focusing on a single operating system, you could

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!