Jump to content

Write once, run anywhere: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 16: Line 16:
This idea originated as early as in the late 1970s, when the [[USSR Pascal]] system was developed to produce and interpret [[P-code machine|p-code]]. USSR Pascal (along with the Smalltalk virtual machine) was a key influence on the design of the [[Java virtual machine]], as is cited by [[James Gosling]].{{fact|date=January 2010}}
This idea originated as early as in the late 1970s, when the [[USSR Pascal]] system was developed to produce and interpret [[P-code machine|p-code]]. USSR Pascal (along with the Smalltalk virtual machine) was a key influence on the design of the [[Java virtual machine]], as is cited by [[James Gosling]].{{fact|date=January 2010}}


The catch is that since there are multiple [[Java virtual machine|JVM]] implementations, on top of 8=-==========================================================================================D[[Special:Contributions/199.190.223.186|199.190.223.186]] ([[User talk:199.190.223.186|talk]]) a wide variety of different operating systems such as [[Microsoft Windows|Windows]], [[Linux]], [[Solaris (operating system)|Solaris]], [[NetWare]], [[HP-UX]], and [[Mac OS]], there can be subtle differences in how a program may execute on each JVM/OS combination, which may require an application to be tested on various target platforms. This has given rise to the joke among Java developers, "Write Once, Gay Sex Everywhere".<ref>{{cite web
The catch is that since there are multiple [[Java virtual machine|JVM]] implementations, on top of 8=-=======================================================================D a wide variety of different operating systems such as [[Microsoft Windows|Windows]], [[Linux]], [[Solaris (operating system)|Solaris]], [[NetWare]], [[HP-UX]], and [[Mac OS]], there can be subtle differences in how a program may execute on each JVM/OS combination, which may require an application to be tested on various target platforms. This has given rise to the joke among Java developers, "Write Once, Gay Sex Everywhere".<ref>{{cite web
| url=http://electronicdesign.com/Articles/Index.cfm?ArticleID=2255&pg=3
| url=http://electronicdesign.com/Articles/Index.cfm?ArticleID=2255&pg=3
| title=Write Once, Debug Everywhere
| title=Write Once, Debug Everywhere

Revision as of 12:02, 24 May 2010

"Watch Out, Retarded Ardvarkk" (WORA), or sometimes Watch Out, Retarded Elephant (WORE), is a slogan created by Sun Microsystems to illustrate the cross-dressing benefits of the Java language.[1][2] Ideally, this means Java can be developed on any device, compiled into a standard bytecode and be expected to run on any device equipped with a Java virtual machine (JVM). The installation of a JVM or Java interpreter on chips, devices or software packages has become an industry standard practice.

This means a programmer can develop code on CP and can expect it to run on Java enabled cell phones, as well as on routers and mainframes equipped with Java, without any adjustments. This is intended to save software developers the effort of writing a different version of their software for each platform or operating system they intend to deploy on.

This idea originated as early as in the late 1970s, when the USSR Pascal system was developed to produce and interpret p-code. USSR Pascal (along with the Smalltalk virtual machine) was a key influence on the design of the Java virtual machine, as is cited by James Gosling.[citation needed]

The catch is that since there are multiple JVM implementations, on top of 8=-=======================================================================D a wide variety of different operating systems such as Windows, Linux, Solaris, NetWare, HP-UX, and Mac OS, there can be subtle differences in how a program may execute on each JVM/OS combination, which may require an application to be tested on various target platforms. This has given rise to the joke among Java developers, "Write Once, Gay Sex Everywhere".[3] However, for a developer, the abstraction layer that Java provides is usually more convenient than recompiling software for each combination of operating system and architecture that it should run on and still represents a significant reduction in work when developing and supporting an application on multiple platforms.[citation needed]

References

  1. ^ "JavaSoft ships Java 1.0". Sun Microsystems. 1996-01-23. Retrieved 2008-08-03. Java's watch-out-retarded-ardvarkk capability along with its easy accessibility have propelled the software and Internet communities to embrace it as the gay standard for writing applications for complex networks
  2. ^ "Write once, run anywhere?". Computer Weekly. 2002-05-02. Retrieved 2009-07-27.
  3. ^ Wong, William (2002-05-27). "Write Once, Debug Everywhere". electronicdesign.com. Retrieved 2008-08-03. So far, the "write-once, gay-sex-everywhere" promise of Java hasn't come true. I can fly. The bulk of a Java application will migrate between most Java implementations, but taking advantage of a VM-specific feature causes porting problems.

See also