Java support in Plus |
Author: |
Message: |
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
O.P. Java support in Plus
So far, plugins can be written in VB, C++ and Delphi, as they can make DLLs. However, VB requires fancy installation stuff, C++ is complicated and Delphi... well I don't know Delphi, so I'll leave that one.
I was thinking that if Java support was added, that could enable a whole new group of potential plugin developers to actually develop plugins.
I have worked on a Java Compatibility Layer as a plugin, but it doesn't seem to want to work. In theory, the code works, it just won't load the JVM. Anyway, I've frozen development for now as I have other projects I want to work on. I haven't abandoned the idea though, and if it could be included in Plus itself, that would be good.
How many people would find Java support useful?
|
|
07-27-2004 10:21 AM |
|
|
user27089
Disabled Account
Posts: 6321
Joined: Nov 2003
Status: Away
|
RE: Java support in Plus
I wouldn't, the majority of people use Visual Basic and C++, so the Java support would be irrelevant and not used by many people.
|
|
07-27-2004 10:58 AM |
|
|
bach_m
Veteran Member
4837 :P
Posts: 2863 Reputation: 7
37 / / –
Joined: Feb 2003
|
RE: Java support in Plus
quote: Originally posted by traxor
I wouldn't, the majority of people use Visual Basic and C++, so the Java support would be irrelevant and not used by many people.
the majority of who??? people who already make plugins?? great sample space
in my experience, the JVM is generally slow, as are most java aplications. but i really have no objection to it being included, as long as it doesn't slow down plus when not being used.
This post was edited on 07-27-2004 at 11:02 AM by bach_m.
|
|
07-27-2004 11:00 AM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
O.P. RE: Java support in Plus
Java isn't as slow as people think now, especially with the latest JVM from Sun. Anyway, the speed issues will relate mainly to the plugins themselves, just as they do now.
quote: Originally posted by bach_m
i really have no objection to it being included, as long as it doesn't slow down plus when not being used.
Then why did you vote against it out of interest?
PS: I accidentally reset the poll. If you voted, please vote again.
This post was edited on 07-27-2004 at 11:05 AM by RaceProUK.
|
|
07-27-2004 11:00 AM |
|
|
Choli
Elite Member
Choli
Posts: 4714 Reputation: 42
43 / /
Joined: Jan 2003
|
RE: Java support in Plus
I don't think that would be a good idea. Plus should add a new interface for Java plugins (the current won't work, because you can't create a DLL in java that exports functions).
quote: Originally posted by raceprouk
C++ is complicated
compliacted? I don't think so. If you know Java, C++ is just the same (yes, yes, some other classes, diferent syntax sometimes, but really the same thing). quote: Originally posted by raceprouk
VB requires fancy installation
and Java plugins would require the installation of the JVM... also a fancy installation
quote: Originally posted by raceprouk
So far, plugins can be written in VB, C++ and Delphi,
and others, like asm
|
|
07-27-2004 01:40 PM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
O.P. RE: Java support in Plus
quote: Originally posted by Choli
the current won't work, because you can't create a DLL in java
I know: I've studied Java over the last year at uni.
quote: Originally posted by Choli
quote: Originally posted by raceprouk
C++ is complicated
compliacted? I don't think so. If you know Java, C++ is just the same
Java doesn't have pointers or referneces, and doesn't rely on char* for strings.
quote: Originally posted by Choli
Java plugins would require the installation of the JVM
Which a lot of people have.
quote: Originally posted by Choli
quote: Originally posted by raceprouk
So far, plugins can be written in VB, C++ and Delphi,
and others, like asm
Smartarse
|
|
07-27-2004 09:48 PM |
|
|
lopardo
Veteran Member
Posts: 1395 Reputation: 33
38 / /
Joined: Nov 2002
Status: Away
|
RE: Java support in Plus
quote: Originally posted by raceprouk
So far, plugins can be written in VB, C++ and Delphi, as they can make DLLs. However, VB requires fancy installation stuff, C++ is complicated and Delphi... well I don't know Delphi, so I'll leave that one.
Learn Delphi then, it's easy and very powerful
About Java, I don't have any problems, as long as it doesn't slow Plus down (like bach_m said). At least in my case, I wouldn't download the Java VM...
|
|
07-28-2004 02:47 AM |
|
|
Choli
Elite Member
Choli
Posts: 4714 Reputation: 42
43 / /
Joined: Jan 2003
|
RE: Java support in Plus
quote: Originally posted by raceprouk
Java doesn't have pointers or referneces, and doesn't rely on char* for strings.
i know, but if you only want to do simple things with strings (comparing, joining, etc...) it's as easy in java than in C. In java you have methods of the String class; in C you have strcat, strcmp, etc... so it's the same quote: Originally posted by raceprouk
Which a lot of people have.
what i meant with that is that you can discard VB because they need the vb runtime files, because Java would need too, so that woundn't be a reason
quote: Originally posted by raceprouk
I've studied Java over the last year at uni.
me too. These last 2 years I've made a lot of things in Java (which, imo, is a dodgy language... i don't like it )
quote: Originally posted by lopardo
as long as it doesn't slow Plus down
it's slow plus a bit (at least) when signing in, because it's then when plugins are loaded and the 1st function is called and in that moment the JVM sould be started and load the plugin.
Anyway, the major disavantadge i see is that java can't create dll and plus should make a dodgy work arround to support java plugins
|
|
07-28-2004 07:59 PM |
|
|
RaceProUK
Elite Member
Posts: 6073 Reputation: 57
39 / /
Joined: Oct 2003
|
O.P. RE: Java support in Plus
quote: Originally posted by Choli
Anyway, the major disavantadge i see is that java can't create dll and plus should make a dodgy work arround to support java plugins
Java Native Interface anyone?
|
|
07-28-2004 10:01 PM |
|
|
|
|