Author Topic: C - JAVA  (Read 2445 times)

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #15 on: February 10, 2005, 09:06:27 pm »
You don\'t need the source to Java. :\\
Java is the language whereas CrystalSpace is more like additional libraries. With the Java built-in libraries, it\'s black-box coding: You\'re given a method, class, etc. and told how to use it (API for Java is very good) and it works. You are allowed to redistribute the JRE as well, so I don\'t see any big problems...

EDIT: In fact, I don\'t see any reason that you\'d need the Java source... :\\

P.S. I\'ve got a bit of work to do now, but I\'ll be back on in about two hours...
« Last Edit: February 10, 2005, 09:09:59 pm by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Seytra

  • Forum Addict
  • *
  • Posts: 2052
  • No system can compensate lack of common sense.
    • View Profile
(No subject)
« Reply #16 on: February 10, 2005, 09:11:10 pm »
Quote
Originally posted by Cha0s
You don\'t need the source to Java. :\\
Java is the language whereas CrystalSpace is more like additional libraries. It\'s black-box style coding: You\'re given a method and told how to use it (API for Java is very good) and it works. You are allowed to redistribute Java as well, so I don\'t see any big problems...

You don\'t need the sourcecode unless you want to modify it (fix bugs, improve things, add features, fix security flaws, etc., etc..), or learn from it. It\'s the same as with a C++ compiler, or just about any piece of software.
Therefore, CS is in keeping with the PS philosophy of \"truly free\", whereas Java isn\'t.

Edit: it\'s just like the US broadcast (DRM) flag: others dictate what you may or may not do.
« Last Edit: February 10, 2005, 09:13:15 pm by Seytra »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #17 on: February 10, 2005, 11:30:13 pm »
Do you examine the source to every single C++ library you program with? The Java source code is in most cases not stuff you want to mess with in the first place. Secondly, if you want to see the code to the various Java classes, you CAN! I\'ve taken a look at some of the classes through the NetBeans IDE... As for fixing, modifying, etc. you just extend existing classes... that should cover most of the changes you\'ve mentioned unless you want to start coding in Assembly, that is...

Let\'s look at this from another point of view: Do you look at the source code to C++?

Also, comparing Java to CS makes no sense. Java is a LANGUAGE, CS is a group of libraries forming a game ENGINE.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!