C# Versus Java
Short Description
Microsoft describes C# (”C sharp”) as a “simple, modern, object-oriented, and type-safe programming language derived from C and C++.” That statement would apply equally well to Java. In fact, after comparing the two languages, it’s obvious that prerelease descriptions of C# resemble Java more than C++. As Example 1 illustrates, the language features and syntax are similar. Example 1(a) is the canonical “Hello World” program in Java, while Example 1(b) is the program in C#.
Website: www1.cs.columbia.edu | Filesize: 572kb
No of Page(s): 13
Content
…
C#: The Evolution of Visual J++
Why does Microsoft think we need another language? When Microsoft introduced Visual J++ in October 1996, it threw lots of resources into the project. Their efforts produced the fastest JVM on the market and the Windows Foundation Classes (WFC), a set of Java classes that wrapped the Win32 API. Not coincidentally, Anders Hejlsberg, the project leader for WFC (and most famous as the author of Turbo Pascal), is the chief architect for C#.
Microsoft decided to make changes to Java to integrate it more closely with Windows. Some of the changes - interfacing seamlessly with COM, refusing to support RMI and JNI, and adding delegates - caused it to break compliance with the Java Standard. Consequently, Sun Microsystems sued Microsoft in October 1997 for violating its Java license agreement. This doomed Microsoft’s future development of Java and Visual J++. However, Microsoft decided to take its advances in the Java language, Java compiler, and JVM and morph them into an even more ambitious project - Microsoft .NET.
…
Get the file Download here
Related Books:Related Searches: win32 api, chief architect, windows foundation, sun microsystems, java license
Comments
Leave a Reply