Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: an0n on December 23, 2002, 11:23:06 pm
-
It's just been ruled that Microsoft is to be forced to include the latest versions of Sun Java in Windows to stop them trying to muscle in and take over the Java programming language.
Hahahahaha.
-
:thepimp:
-
Originally posted by deep_eyes
:thepimp:
-
oh, yey, as if I liked java to begin with...
-
Originally posted by kode
oh, yey, as if I liked java to begin with...
You may not like it now, but you will... you will...
-
Originally posted by Styxx
You may not like it now, but you will... you will...
Oh my, is this in some odd stage of mental maturity which the health teachers never told me about? :blah: :shaking: :eek: :doubt:
-
Good.
-
*dislikes coffee*
-
Windows XP doesnt have any form of Java.
-
Originally posted by Zeronet
Windows XP doesnt have any form of Java.
Oh, it has. Even if only in the form of Javascript. I don't believe either that they left applet support completely out of it. And you can always install a JVM on your system, despite anything that Microsoft might want.
-
Originally posted by Sandwich
*dislikes coffee*
Me too.
-
I hate Java, its full of security holes.
-
Originally posted by Zeronet
I hate Java, its full of security holes.
You're not talking about Java, you're talking about the Microsoft JVM. :p
-
YES!
exactly what are we talking about here?
-
Originally posted by Stunaep
YES!
exactly what are we talking about here?
I think we're talking about them lawmaking people not leting Microsoft create another monopoly by stopping people from using technology from other manufacturers on their systems...
-
Originally posted by Sandwich
*dislikes coffee*
I second that.
or wait... maybe that's only cuz im 14
-
coffee?
*goes to starbucks and spends $20,000 on a cup of coffee*
-
Originally posted by nuclear1
I second that.
or wait... maybe that's only cuz im 14
i'm 14 and during test weeks, i'm on 3 cups a day.
otherwise at least 1 per week, sometimes more.
-
... :thepimp: ...
-
Originally posted by Styxx
Oh, it has. Even if only in the form of Javascript.
smacks Styxx
[SIZE=8]JAVASCRIPT IS NOT JAVA[/SIZE] * (http://archive.devx.com/projectcool/developer/tips/jscript_tips/js-vs-j.html)
-
Yeah, what ZB said.
Also, the ruling is that Microsoft has to include the Sun Java runtimes with some (as yet unspecified, I believe) version of Windows. Microsoft never prevented the use of the Sun JVM, they just produced a competing JVM that was incompatible in some ways.
-
Originally posted by ZylonBane
smacks Styxx
[SIZE=8]JAVASCRIPT IS NOT JAVA[/SIZE] * (http://archive.devx.com/projectcool/developer/tips/jscript_tips/js-vs-j.html)
Javascript IS a form of Java. It is a subset of the original Sun API created by Netscape, with a few modifications and a lot of aditions to handle dynamic content inside a web browser. Most of the basic J2SE API is in there, even though most of the people don't use it.
* Smacks Zylon *
-
Originally posted by ZylonBane
smacks Styxx
[SIZE=8]JAVASCRIPT IS NOT JAVA[/SIZE] * (http://archive.devx.com/projectcool/developer/tips/jscript_tips/js-vs-j.html)
no need to yell at him dude!
-
Stealth, see Styxx's response. Apparently I didn't yell enough.
And apparently he didn't follow the link I provided. So here's another one--
Google sez, "Javascript Not Java! (http://www.google.com/search?q=javascript+not+java&hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&start=10&sa=N)"
-
Originally posted by ZylonBane
Stealth, see Styxx's response. Apparently I didn't yell enough.
And apparently he didn't follow the link I provided.
I followed your link, but if you had worked with Java for several years as I have, you'd notice that, even though Javascript is not a part of the original Java core created and provided by Sun it is clearly built on top of a subset of the original language, incorporates large portions of the same API, and can perform a good deal of the tasks that are performed through your standard Java Applets. Also, there is much more to Java than applets - JSP, Servlets, J2EE, and more are all based/built upon Java. Your little page also fails to inform that Java "programs" themselves do not run alone, they require a Java Virtual Machine - which is embedded into the program itself in some cases. Anyone who works with Java has little to no difficulty in working with Javascript.
Apparently you have no working knowledge of any of the technologies, and just posted the first link you found on Google. Javascript is clearly a form of Java, disregarding any API or runtime structure differences.
-
Originally posted by Styxx
Apparently you have no working knowledge of any of the technologies, and just posted the first link you found on Google. Javascript is clearly a form of Java, disregarding any API or runtime structure differences.
Having a working knowledge of the technologies involved, Styxx, you're wrong.
It is NOT a subset of Java, but a scripting language intended to be C-like (hence the distinct similarities with Java which was intended to be C-like as well). Both Netscape and Sun, when they announced the birth of the new language called it 'a "complement" to both HTML and Java.' That position by Sun is important: they did not, and do not consider them to be the same or offshoot languages.
An important thing to note is that Javascript doesn't, and never has, run through a JVM of any sort ever, but its own, language specific, scripting engines (be they server or client side).
A useful contrast is Visual Basic vs Visual Basic for Applications vs VisualBasicScript. VBA was created as a slimmed down subset of VB, specifically for automating tasks in Microsoft Office. When IIS3 was created, they again slimmed down VBA to become VBScript. The pedigree is a direct and documented line of descent (and a descent it was, from bad to worse). This is in direct contrast to the Java/Javascript "pedigrees".
-
it's a scripting language baised on Java, I think...
(what I've always assumed, don't know)
-
Bobboau, you're not helping.
Originally posted by Styxx
even though Javascript is not a part of the original Java core created and provided by Sun it is clearly built on top of a subset of the original language
By this argument, most of the languages in use today are actually C. :rolleyes:
In any case, from the official Netscape Core Javascript Guide (http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/intro.html#1012569)--JavaScript and Java
JavaScript and Java are similar in some ways but fundamentally different in others. The JavaScript language resembles Java but does not have Java's static typing and strong type checking. JavaScript supports most Java expression syntax and basic control-flow constructs.
In contrast to Java's compile-time system of classes built by declarations, JavaScript supports a runtime system based on a small number of data types representing numeric, Boolean, and string values. JavaScript has a prototype-based object model instead of the more common class-based object model. The prototype-based model provides dynamic inheritance; that is, what is inherited can vary for individual objects. JavaScript also supports functions without any special declarative requirements. Functions can be properties of objects, executing as loosely typed methods.
JavaScript is a very free-form language compared to Java. You do not have to declare all variables, classes, and methods. You do not have to be concerned with whether methods are public, private, or protected, and you do not have to implement interfaces. Variables, parameters, and function return types are not explicitly typed.
Java is a class-based programming language designed for fast execution and type safety. Type safety means, for instance, that you can't cast a Java integer into an object reference or access private memory by corrupting Java bytecodes. Java's class-based model means that programs consist exclusively of classes and their methods. Java's class inheritance and strong typing generally require tightly coupled object hierarchies. These requirements make Java programming more complex than JavaScript authoring.
In contrast, JavaScript descends in spirit from a line of smaller, dynamically typed languages such as HyperTalk and dBASE. These scripting languages offer programming tools to a much wider audience because of their easier syntax, specialized built-in functionality, and minimal requirements for object creation.
Give up yet?
-
(doesnt have much programing language knowledge)
Meh, i might as well have my two cens. Win Xp really bugs me (or IE atleast), cause it wont let me play any lovely java-based games.
Perhaps i'm stating the obvious...
Yeah, i am. :nervous:
Umm ...merry christmas!
-
You do realize that the JVM can be downloaded, yes?
http://java.sun.com/getjava/download.html
-
Originally posted by ZylonBane
Give up yet?
I'm afraid he'll only be able to answer you after Christmas.
-
http://www.sun.com/smi/Press/sunflash/1995-12/sunflash.951204.6754.html
The JavaScript language complements Java™, Sun's industry-leading object-oriented, cross-platform programming language.
Java programs and JavaScript scripts are designed to run on both clients and servers, with JavaScript scripts used to modify the properties and behavior of Java objects, so the range of live online applications that dynamically present information to and interact with users over enterprise networks or the Internet is virtually unlimited. Netscape will support Java and JavaScript in client and server products as well as programming tools and applications to make this vision a reality.
:nod:
NB: I think j# is Microsofts bastardised version of Java included in VisualStudio6. They're already been succesfully sued by Sun before for trying to make a windows specific version of Java.
Yeah, what ZB said.
Also, the ruling is that Microsoft has to include the Sun Java runtimes with some (as yet unspecified, I believe) version of Windows. Microsoft never prevented the use of the Sun JVM, they just produced a competing JVM that was incompatible in some ways.
In my (simplistic) understanding, Sun setup Java - including the VM - to be platform independent, so any platform specific setup (i.e that prevents different O/S's from running it) is not Java.
Incidentally, Java is going to be one of the most important languages in the world over the next few decades - for example in mobile phones(communication between different architectures of MCU's, allowing standardised protocols for communications, blah).
-
Originally posted by aldo_14
Incidentally, Java is going to be one of the most important languages in the world over the next few decades - for example in mobile phones(communication between different architectures of MCU's, allowing standardised protocols for communications, blah).
It'll be about but I just can't see it becoming BIG. Anything you can do in Java, you can do more efficiently in C++ and/or C. Java is pretty groovy, but some of the things that make it "safe" and "cross platform" also make it a bit clunky. Some of that can be mitigated by skipping the whole byte-code interpreter, but some of the groovy, super-efficient things you can do with pointers, etc are completely disallowed.
-
Originally posted by mikhael
It'll be about but I just can't see it becoming BIG. Anything you can do in Java, you can do more efficiently in C++ and/or C. Java is pretty groovy, but some of the things that make it "safe" and "cross platform" also make it a bit clunky. Some of that can be mitigated by skipping the whole byte-code interpreter, but some of the groovy, super-efficient things you can do with pointers, etc are completely disallowed.
I know Java is a bastard in terms of optimisation (I'd rather have learned C++ in all honesty...), but it's beauty is that it's totally abstract. It has absolutely no relation to the client architecture, so you can have the same applications running on completely different MCU's.... think of 2 mobile phones, by different manufacturers, using the same communications protocols to talk to each other (etc).
Or using the same O/S / GUI on different versions of the same product (i.e. one which has a dedicated DAC on the circuitboard as oppossed to connected seperately, or using different memory mappings, etc).
The principle point of Java is not that you can do it better in C/C++ (etc), but that you can do it on ANY machine without having to care about it's architecture. And seeing as pretty much everything nowadays has some form of processor, that's pretty important IMO. I've got a feeling you could optimise the JVM per-platform if need be (not 100% sure), and you could also use assembler and low-ish level code for the optimised critical stuff anyways.
-
Originally posted by aldo_14
The principle point of Java is not that you can do it better in C/C++ (etc), but that you can do it on ANY machine without having to care about it's architecture.
The PRINCIPLE is one thing. The reality is something else. You can indeed take [some, not all] java programs written on on platform X and run them on the platform Y. Usually, you won't have problems. Sometimes you will, because not all JVMs are equal, and not all architectures can support all the features of a full JVM.
Abstraction is a great and wonderful thing for code reuse and program correctness. They're just really bad for performance. Java is great--when you compile to machine specific binaries, at which point you lose most of Java's promise.
-
*sniff*
I wish we could spend every Christmas like this...
-
Originally posted by nuclear1
I second that.
or wait... maybe that's only cuz im 14
Bah, I'm 14 and coffee/tea are my favorite drinks! Ya gotta love a hot latte on a chilly afternoon. :nod:
-
I live on coffee.
-
Originally posted by mikhael
The PRINCIPLE is one thing. The reality is something else. You can indeed take [some, not all] java programs written on on platform X and run them on the platform Y. Usually, you won't have problems. Sometimes you will, because not all JVMs are equal, and not all architectures can support all the features of a full JVM.
Abstraction is a great and wonderful thing for code reuse and program correctness. They're just really bad for performance. Java is great--when you compile to machine specific binaries, at which point you lose most of Java's promise.
Yes but is the average user going to care? Or is he just going to carry on playing Space invaders.
Java does have a lot of promise in the mobile phone market because new phones are constantly coming out. If each one uses a different OS you`ll have all kinds of problems trying to port every product to every phone (or even working out if a certain product works on your phone)
Secondly games etc. on mobile phones are a new concept. As long as no one tells the general public that Java is the bottleneck no one will notice and we can all play slow compatible games with each other.
-
Originally posted by Kamikaze
Ya gotta love a hot latte on a chilly afternoon. :nod:
Yes, nothing better than a hot steamy cup of coffee on the afternoon when it's 35 degrees Celsius outside and you can feel the constant drops of sweat running through your face and pouring to the ground. Refreshing.
-
Originally posted by Levyathan
Yes, nothing better than a hot steamy cup of coffee on the afternoon when it's 35 degrees Celsius outside and you can feel the constant drops of sweat running through your face and pouring to the ground. Refreshing.
:wtf: He said a chilly afternoon, Southerner, not a Christmas afternoon! :p :lol:
-
Originally posted by Levyathan
Yes, nothing better than a hot steamy cup of coffee on the afternoon when it's 35 degrees Celsius outside and you can feel the constant drops of sweat running through your face and pouring to the ground. Refreshing.
Southern Hemisphere! Whoooooo! :D
-
Javascript may not be Java but it is a good starting point. :nod:
I find Javascript much more handier to deal with these days now that I learned java (stupid semi-colons after each statement! :mad: ) but hey, it'd good to have Java support too (for those really tedious assignments that you must do for class to get a decent grade for). :D
-
Originally posted by Sandwich
:wtf: He said a chilly afternoon, Southerner, not a Christmas afternoon! :p :lol:
Exactly. That's the closest thing to a chilly afternoon I'll be getting for the next four months.
-
Aldo's post pretty much sums it up - as I agree (obviously) that there are fundamental differences between your "pure" Java and Javascript, Javascript is based and built upon Java itself, and that's why I maintain that Javascript is a form of Java. Anyone is free, though, to ignore the words on the original press release and believe whatever they want.
And about the applicability of Java, you're forgetting the single largest market where it is being employed right now - corporate applications. Java (and more specifically, J2EE) is the single most used technology for corporate solutions, and that's why Microsoft is trying to create a whole hype around .NET - it is their attempt at a response to the increasing popularity and use of Java by the clients that really matter. As for its use on "lesser" applications, it's getting better at it every day, and even if you can still argue that you can do "better" on a different language (such as C++), you'll have a harder time trying to argue that you can do it faster.
-
Styxx, I quoted the same press release--and Sun and Netscape said it was a COMPLEMENT too Java, not developed FROM Java.
If having similar syntax and working well with product A means that product B is "developed from" or a "subset of" Product A, then I'd respectfully ask you to refer to both as C-Java and C-JScript.
-
Originally posted by Kamikaze
Bah, I'm 14 and coffee/tea are my favorite drinks! Ya gotta love a hot latte on a chilly afternoon. :nod:
Coffee I don't like :ick
Tea on the other hand..... hmmm...... tea..... *drools*
-
Styxx, have you ever considered joining the Flat Earth Society? I hear your hardheadedness and resolute disregard for reality (http://www.fawcette.com/javapro/2002_09/online/javascript_dcrockford_09_13_02/) are just what they're looking for!
-
Wow, is this ever a pointless argument.
-
It's not entirely pointless. After all, Zylon now feels a little bit better about himself - don't you, Zylon?
-
boy am i glad i just come here to have fun and to learn how to build things for one of my hobbies.
-
[Sarcasm Inspector] You have a licence for that statement, sonny? [/Sarcasm Inspector]
-
Just a temporary permit, but i was in the presence of a liscenced sarcasm creator.
-
Originally posted by mikhael
If having similar syntax and working well with product A means that product B is "developed from" or a "subset of" Product A, then I'd respectfully ask you to refer to both as C-Java and C-JScript.
Indeed, if it was like that, I wouldn't be saying that it is a form of Java. The problem is, it has the exact same syntax (allowing for the transparent typecasting), and a perfect subset of the API provided by the original Java specification. It is not Java, it is a form of Java, as I said before and someone seems to have misinterpreted.
Originally posted by ZylonBane
Styxx, have you ever considered joining the Flat Earth Society?
No, not really, even though I heard something about it a while ago. Have you?
:p :D
Anyway, this debate is pointless.
-
Originally posted by Styxx
I think we're talking about them lawmaking people not leting Microsoft create another monopoly by stopping people from using technology from other manufacturers on their systems...
that good, aye?
-
Syxx, what exactly is your malfunction here? The web and usenet are jammed with explanations of why Java and JavaScript aren't remotely (http://groups.google.com/groups?hl=en&lr=lang_en&ie=UTF-8&safe=off&selm=63qid9%24cos%242%40gte2.gte.net) related. You will not find anything authoritative on the web supporting your assertion that one is an offshoot of the other. I have pointed you to multiple authoritative sources which you have blithely ignored.
They both have C-like syntax. They both have "Java" in their names. That is the full extent of their affinity. Why can't you grasp that? Where are your supporting sources?
-
Originally posted by ZylonBane
They both have C-like syntax. They both have "Java" in their names. That is the full extent of their affinity.
Oh, of course. :rolleyes:
-
Anyway, this debate is pointless.
who cares, arguments are fun; if I knew anything about this I would join in too. :D
-
Knowing something about the discussion before joining in it. That's a new concept.
-
Originally posted by Levyathan
Knowing something about the discussion before joining in it. That's a new concept.
Bah! You have no idea what you're talking about, do you? People have been entering into discussions, debates, and yes, even arguements, without knowing a single thing about the subject matter, for the last, errr..... oh, must be decades, at least! Centuries even! Millennia!
.... I think.... not too sure. :p