Implementation of joscar in Adium X

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
mipadi
Frappa
Posts: 175
Joined: Thu Dec 09, 2004 4:29 pm
Location: New York, USA
Contact:

Implementation of joscar in Adium X

Post 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?
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

Apple's Objective-C <-> Java bridge
mipadi
Frappa
Posts: 175
Joined: Thu Dec 09, 2004 4:29 pm
Location: New York, USA
Contact:

Post 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?
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post 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.
mipadi
Frappa
Posts: 175
Joined: Thu Dec 09, 2004 4:29 pm
Location: New York, USA
Contact:

Post by mipadi »

Thank you ver much for the info!
mith
Muffin
Posts: 27
Joined: Sun Mar 20, 2005 10:32 pm
Contact:

Post 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).
Wengero
Crema
Posts: 373
Joined: Fri Mar 18, 2005 3:37 am
Contact:

Post by Wengero »

no speed lose only gain(well at least on my 700mhz 512mb ram system
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

And anyways, why would you want speed? I’d rather have better support than speed.
Blog | X(tras)
Communists code without classes.
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post 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.
:)
sdf
Latté
Posts: 53
Joined: Wed Feb 15, 2006 4:07 pm

Post 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. :)
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post 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 :)
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
yelly
Crema
Posts: 292
Joined: Thu Sep 01, 2005 2:20 pm
Location: Jerusalem, Israel
Contact:

Post by yelly »

well, i suppose non of ChatKit will be Java, right?
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post 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.
User avatar
ofri
Growl Team
Posts: 303
Joined: Sat Dec 04, 2004 12:00 pm
Location: Kiryat Ono, Israel
Contact:

Post 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...
Gravitation is not responsible for people falling in love.
--Albert Einstein

http://www.dpompa.com
Post Reply