Objective-C history

Source: Internet
Author: User

Before learning the intricacies of a new programming language it is often worth taking a little time to learn about the history and legacy of that language. In this chapter ofobjective-C
2.0 essentials we will provide a brief overview of the origins of objective-C and the business history that ultimately led to it becoming the programming language of choice for both Mac OS X and the iPhone.

Contents

[Hide]

  • 1The C Programming Language
  • 2The Smalltalk Programming Language
  • 3C meets Smalltalk
  • 4objective-c and Apple

The C Programming Language

Objective-C is based on a programming language called, quite simply,C. The origins of the C programming language can be traced back nearly 40 years to two engineers named Dennis Ritchie and Ken Thompson working at what is now known as at&t bell
Labs. at the time, the two were working on developing the UNIX operating system on PDP-7 and PDP-11 systems. after attempts to write this operating system using assembly language (essential Using Sequences of instruction codes understood by the processor ),
It was decided that a higher level, more programmer friendly programming language was required to handle the complexity of an operating system such as Unix. The first attempt was a language calledB.
BLanguage, which was based on a language calledBCPL, Was found to be lacking. Taking the next initial fromBCPLName,
CLanguage was created and subsequently used to write much of the UNIX operating system kernel and infrastructure. As far as we can tell,CWas so successful that new ages named
PAndLNever needed to be created.

The Smalltalk Programming Language

The C programming language is what is known asProceduralLanguage. As such, this means that it lacks features such as object oriented programming. Object Oriented Programming advocates the creation of small, clearly defined code objects that
Can be assembled and reused to create more complex systems.

An early attempt at an object-oriented programming language was developed by a team including Alan Kay (who later went to work for Apple) and Dan ingils at Xerox PARC (Palo Alto Research Center) the 1970 s. this language is known as Smalltalk.

C meets Smalltalk

An interesting history lesson so far, but what does this have to with objective-C? Well, in the 1980 s, two developers named Brad Cox and Tom love extended the C programming language to support the object oriented features of smalltalk. This melding of ages
Ultimately culminated in the creation of objective-C. Objective-C was subsequently adopted by the Free Software Foundation and released under the terms of the GNU Public License (GPL ).

Objective-C and Apple

To understand how objective-C, a language based on two 40 year old programming ages, ended up being the language of choice on Mac OS X and the latest cutting edge smartphones from Apple it is necessary to move away from technology for a while and talk
About business.

In the 1980 s Steve Jobs and Steve Wozniak founded Apple Computer. after using years of success, Steve Jobs hired a marketing wizard from PepsiCo called John Sculley to help take apple to the next level of business success. to cut a long story short, a boardroom
Battle ensued and Steve Jobs got pushed out of the company (for the long version of the story pick up a used copy of John Sculley's bookOdyssey: from Pepsi to Apple) Leaving John Sculley in charge.

After leaving Apple, Jobs started a new company called next to design an entirely new generation of computer system. the operating system developed by next to run on these computers was called nextstep. in order to develop nextstep, next licensed objective-C.
Next subsequently joined forces with Sun Microsystems to create a standardized version of nextstep named openstep which the Free Software Foundation then adopted as gnustep.

During the 1990 s, John Sculley left apple and a procession of new CEOS came and went. during this time, Apple had been losing market share and struggling to come out with a new operating system to replace the aging MACOs. after a number of failed attempts
And partnerships, it was eventually decided that rather than try to write a new operating system, Apple shoshould acquire a company that already had one. during Gil Amelio's brief reign as CEO, a shortlist of two companies was drawn up. one was a company called
Be, Inc. Founded by a former Apple employee named Jean-Louis Gass é e, and the other was next.

Ultimately, next was selected and Steve Jobs once again joined Apple. In another boardroom struggle (another long story as outlined in Gil Amelio's bookOn the firing row: My 500 days at Apple) Steve Jobs pushed out Gil Amelio and once again became
CEO of the company he had founded all those years ago.

The rest, as they say, is history. nextstep formed the foundation of what became Mac OS X, bringing with it objective-C. mac OS X was subsequently modified to provide the operating system for the spectacularly successful iPhone.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.