Page 1 of 1

Implementation of joscar in Adium X

Posted: Wed Apr 05, 2006 3:51 am
by mipadi
I have a quick question about the implementation of joscar in the upcoming release of Adium. It's something that I am curious about. If I'm not mistaken, joscar is writte in Java, right? Adium, I'm guessing, is still based in Objective-C. So how does one embed a Java library like joscar in an Objective-C program?

Posted: Wed Apr 05, 2006 3:54 am
by Catfish_Man
Apple's Objective-C <-> Java bridge

Posted: Wed Apr 05, 2006 4:23 am
by mipadi
If you don't mind my asking, how exactly does that work (or could you point me in the rough direction to find out more)?

I think I have heard of this technology, but I thought I heard it wasn't being developed by Apple anymore?

Posted: Wed Apr 05, 2006 4:37 am
by Catfish_Man
mipadi wrote:If you don't mind my asking, how exactly does that work (or could you point me in the rough direction to find out more)?

I think I have heard of this technology, but I thought I heard it wasn't being developed by Apple anymore?
http://developer.apple.com/documentatio ... ration.pdf

It's not being developed by Apple anymore.

Posted: Wed Apr 05, 2006 5:46 am
by mipadi
Thank you ver much for the info!

Posted: Wed Apr 05, 2006 10:18 am
by mith
What's the performance impact compared to the C performances offered by libgaim?

Recently I removed some RAM (while waiting for more new DDR2's) and noticed how java apps KILL my poor little PB (1.67Ghz, 512MB).

Posted: Wed Apr 05, 2006 11:31 am
by Wengero
no speed lose only gain(well at least on my 700mhz 512mb ram system

Posted: Sun Apr 09, 2006 3:03 pm
by zaudragon
And anyways, why would you want speed? I’d rather have better support than speed.

Posted: Sun Apr 09, 2006 7:00 pm
by Catfish_Man
zaudragon wrote:And anyways, why would you want speed? I’d rather have better support than speed.
Speed + Better functionality > Better functionality

Luckily, joscar provides both.
:)

Posted: Mon Apr 10, 2006 6:01 pm
by sdf
I have to admit, I'm a bit skeptical of this choice. It seems inevitable that the Java bridge will go from not developed to not supported to not working. And that's discounting the other apparent weaknesses of Java.

Still, if it doesn't work out I imagine it won't stay for long. :)

Posted: Mon Apr 10, 2006 6:15 pm
by evands
sdf wrote:I have to admit, I'm a bit skeptical of this choice. It seems inevitable that the Java bridge will go from not developed to not supported to not working.
The Java portion of Cocoa isn't going anywhere; they just aren't promising to bridge any new Cocoa classes.
And that's discounting the other apparent weaknesses of Java.
The only real argument against Java is that it's "slow" -- except that really only applies to the Java GUI under OS X so far as I can tell.
Still, if it doesn't work out I imagine it won't stay for long. :)
Indeed, if it doesn't work out, well, if you'll pardon the pun -- we're not burning any bridges. I expect nothing but the best, though :)

Posted: Mon Apr 10, 2006 7:02 pm
by yelly
well, i suppose non of ChatKit will be Java, right?

Posted: Mon Apr 10, 2006 7:09 pm
by Catfish_Man
yelly wrote:well, i suppose non of ChatKit will be Java, right?
Joscar is the best library available for AIM, so it's what we'll be using unless/until a better one shows up. It also has a very agreeable license. This is why joscar is already in the chatkit code, it's just not fully hooked up yet.

Posted: Mon Apr 10, 2006 9:56 pm
by ofri
Catfish_Man wrote:
yelly wrote:well, i suppose non of ChatKit will be Java, right?
Joscar is the best library available for AIM, so it's what we'll be using unless/until a better one shows up. It also has a very agreeable license. This is why joscar is already in the chatkit code, it's just not fully hooked up yet.
With that being said, I'm looking into the possibility of utilizing Miranda code (for ICQ at the moment). I didn't manage to get it to compile yet, but some people did managed to compile it on linux using winelib. I'm not very optimistic though...