Oak (programming language)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Oak was a programming language created by James Gosling in 1991, initially for Sun Microsystems' set-top box project. The language later evolved to become Java.

The name Oak was used by Gosling after an oak tree that stood outside his office.

History

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

In 1991, Sun Microsystems was attempting to develop a new technology for programming next generation smart appliances, which Sun expected to be a major new opportunity.

The team originally considered using C++, but rejected the idea for several reasons (see Java history).

Initially, Gosling attempted to modify and extend C++ but soon abandoned that in favor of creating a new platform called Green and an entirely new language, which he called Oak, after the tree that stood just outside his office.[1]

By the summer of 1992, they were able to demonstrate portions of the new platform including the Green OS, the Oak language, the libraries, and the hardware. Their first attempt, demonstrated on September 3, 1992, focused on building a PDA device named Star7[1] which had a graphical interface and a smart agent called "Duke" to assist the user.

Oak was renamed Java in 1994 after a trademark search revealed that Oak was used by Oak Technology.[2] Java 1.0 was finally shipped in 1996.[3]

Differences with Java

Oak was the basis for what Java 1.0 became later, but there were also some differences:[4][5] Several concepts were planned in the Oak specification but remained not implemented in the original language because of time constraints:

Other concepts were different from, or improved later, for Java:[4]

  • abstract methods were defined as in C++.
  • While the Oak default access level was the same as Java's (default) package private access level, it was called "private". Oak did not have an equivalent to Java's private access modifier.

And finally some concepts were later scraped out:

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. 4.0 4.1 4.2 Lua error in package.lua at line 80: module 'strict' not found.
  5. Lua error in package.lua at line 80: module 'strict' not found.
  6. Lua error in package.lua at line 80: module 'strict' not found.
  7. Lua error in package.lua at line 80: module 'strict' not found.
  8. Lua error in package.lua at line 80: module 'strict' not found.
  9. Lua error in package.lua at line 80: module 'strict' not found.

External links