Weiqi Gao wrote: > Jess Holle wrote: > >> Casper Bang wrote: >> >>> Delegates in C# are first class methods of the language, basically >>> type-safe method pointers matched by signature. C# has since gotten >>> full Lambda expression support which I believe compiles down to the >>> same, except with the latter you have some more options which they >>> utilize for the LINQ and parallelization stuff. So no, I don't believe >>> many would claim they are the same thing. >>> >>> Microsoft wanted to modernize Java, adding delegates and properties to >>> the language [J++ was lead by Hejlsberg, coming from Delphi and who >>> would later move on to create C#]. That got stopped when Sun went to >>> court, so I guess they since felt they needed a paper stance on the >>> matter. There are other funny anecdotes, i.e. if Sun had not waited 10 >>> with adding Enum's, Miguel de Icaza would likely not have went on to >>> cloning .NET. C'est la vie with corporate politics and power >>> struggles. :) >>> >> Sun had to go to court in my opinion. >> >> It's not that they added stuff to J++ -- Apple added stuff to their JVM >> as well, for instance. >> >> The issue was that they /removed /RMI and JNI in a clear and blatant >> attempt to erode portability and force lock-in to the Windows platform. >> Given this, yes, I think Sun had to go to court. >> > RMI was worth defending for. JNI, not so much. > JNI is certainly imperfect, but to toss out the only standardized cross-platform means of interfacing with native code was nothing short of malicious.
[I read an article long ago from some IBM mainframe engineers about the wonders of JNI and how only it could solve the nastiness involved in dealing with their mainframe architecture. The points I got from this were that (1) JNI has a point if you're trying to deal with such architectures and (2) something a lot simpler probably could have been delivered if we'd decided that compatibility across all reasonably modern architectures was sufficient.] -- Jess Holle -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
