Shoutbox

Java support in Plus - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! General (/forumdisplay.php?fid=23)
+----- Thread: Java support in Plus (/showthread.php?tid=29164)

Java support in Plus by RaceProUK on 07-27-2004 at 10:21 AM

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?


RE: Java support in Plus by user27089 on 07-27-2004 at 10:58 AM

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.


RE: Java support in Plus by bach_m on 07-27-2004 at 11:00 AM

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 8-)

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.
RE: Java support in Plus by RaceProUK on 07-27-2004 at 11:00 AM

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.
RE: Java support in Plus by Choli on 07-27-2004 at 01:40 PM

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 :P
quote:
Originally posted by raceprouk
So far, plugins can be written in VB, C++ and Delphi,
and others, like asm :P
RE: Java support in Plus by RaceProUK on 07-27-2004 at 09:48 PM

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 :P
Smartarse :P
RE: Java support in Plus by lopardo on 07-28-2004 at 02:47 AM

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...
RE: Java support in Plus by Choli on 07-28-2004 at 07:59 PM

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 :P
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 :P
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:P)
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 :-/
RE: Java support in Plus by RaceProUK on 07-28-2004 at 10:01 PM

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?