amiga.org
     
iconAll times are GMT -6. The time now is 11:04 AM. | Welcome to Forum, please register to access all of our features.

Amiga.org The "Not Quite Amiga but still computer related category" Alternative Operating Systems Open Source Java

Alternative Operating Systems This forum is dedicated to discussions of alternatives to the Commodore Amiga Platform, such as Linux distributions, FreeBSD, OpenBSD, and others.

Reply
 
Thread Tools Display Modes
Old 10-28-2006, 02:05 PM   #31
Karlos
Sockologist
Points: 50,135, Level: 100 Points: 50,135, Level: 100 Points: 50,135, Level: 100
Activity: 10% Activity: 10% Activity: 10%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: Barishabaad, Sardistan
Posts: 16,646
Blog Entries: 18
Default Re: Open Source Java

Quote:
When you say static compiler, do you mean compile to machine code rather than byte code?
Aye, the creation of native object code, rather than bytecode. I guess I could have been clearer about that :-D

Regarding the "not using java" for performance reasons, you might not have the luxury depending on what technologies you were using.

Anyway, it's a moot point. The easiest thing to do is look at the ClassPath sources and see what they did :-D
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 10-28-2006, 02:08 PM   #32
Karlos
Sockologist
Points: 50,135, Level: 100 Points: 50,135, Level: 100 Points: 50,135, Level: 100
Activity: 10% Activity: 10% Activity: 10%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: Barishabaad, Sardistan
Posts: 16,646
Blog Entries: 18
Default Re: Open Source Java

Quote:
You can write your own classloaders and override the system's.
Interesting. Are there any practical examples of why and how you'd do this?
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 10-28-2006, 02:27 PM   #33
smithy
Cult Member
Points: 7,413, Level: 57 Points: 7,413, Level: 57 Points: 7,413, Level: 57
Activity: 19% Activity: 19% Activity: 19%
 
Join Date: Mar 2002
Posts: 511
Default Re: Open Source Java

Quote:
Karlos wrote:
Quote:
You can write your own classloaders and override the system's.
Interesting. Are there any practical examples of why and how you'd do this?
I've never had the need to do it myself, so I don't know all the ins and outs, but it's a useful abstraction layer.

If you want to store your .class files somewhere else that a default classloader could never find, on a database say, or a on particular place on your network.. your custom classloader might handle the connection and issue SQL, or look in that place on the network.

Or you could support unloading classes that might only be used a few times (depends on your application needs).

smithy is offline   Reply With Quote
Old 10-28-2006, 02:36 PM   #34
Karlos
Sockologist
Points: 50,135, Level: 100 Points: 50,135, Level: 100 Points: 50,135, Level: 100
Activity: 10% Activity: 10% Activity: 10%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: Barishabaad, Sardistan
Posts: 16,646
Blog Entries: 18
Default Re: Open Source Java

Ok, I can see that you can control where a class is loaded from and how, but going back to the earlier point, unless you have control over the physical inspection of the bytecode and it's runtime linkage, surely some inaccessible implemententation part of the main ClassLoader is invoked to do the real work once you have a handle on the file?

What I'm saying is, that implementation detail might be able to differentiate between native and bytecode implemented classes and you yourself would never know (or need to know) if it was native or not. Just musing :-D
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 10-28-2006, 08:26 PM   #35
Tomas
Kindred of Babble-on
Points: 13,331, Level: 75 Points: 13,331, Level: 75 Points: 13,331, Level: 75
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Feb 2002
Posts: 2,828
Default Re: Open Source Java

Quote:
Piru wrote:
@Tomas
Quote:
Is the solaris license even compitable with the linux license?
GPL does not require that applications running on top of GPL operating system are GPL aswell. Read the license.
I am no GPL expert, but i know most linux distros refuse to bundle certain OSS with the distro because of license not being compitable.
Tomas is offline   Reply With Quote
Old 10-28-2006, 09:40 PM   #36
SamuraiCrow
Premium Member
Points: 14,084, Level: 77 Points: 14,084, Level: 77 Points: 14,084, Level: 77
Activity: 11% Activity: 11% Activity: 11%
 
SamuraiCrow's Avatar
 
Join Date: Feb 2002
Location: Colorado, USA
Posts: 2,065
Blog Entries: 2
Send a message via Yahoo to SamuraiCrow Send a message via Skype™ to SamuraiCrow
Default Re: Open Source Java

Quote:
smithy wrote:

You are talking about the difference between using a JIT JVM and a non-JIT JVM. But this has nothing to do at all with GCJ because GCJ is just a compiler - it compiles Java source code into bytecode. It doesn't attempt to run it, so no JIT is involved or needed.

You can run bytecode created by GCJ on any compliant JVM, JIT or not. There is no need to recompile it based on whether you use a JIT JVM.

So static or dynamic compilation doesn't really apply here, because one, or both can be done, it's up to you.

My original question was, how does Sun's decision to open up it's JVM impact GCJ, a source-compiler?
The difference is that GCJ can compile bytecode into native binary. It can also compile source into native binary. It is a static compiler based on GCC and, as such, is GPL so no Linux distro would need to do without it for reasons of licence incompatibiltiy.
SamuraiCrow is offline   Reply With Quote
Reply

Bookmarks

Tags
java , open , source

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open Source VHDL ? OSS542 Amiga Software Issues and Discussion 4 10-13-2008 09:15 AM
Open-source 68k assembler for *nix? skurk Amiga OS -- Development 3 05-14-2007 06:20 AM
Sun offers its Java source code free on Internet redrumloa Amiga Software Issues and Discussion 5 11-13-2006 05:00 PM
Open Source Beer Red_Melons CH / General 3 08-22-2005 11:35 AM
Yet more Open Source (Solaris) Plaz General chat about Amiga topics 1 01-26-2005 05:52 AM