[jitsi-dev] porting ice4j to C


#1

I was looking for an LGPL or equivalent ICE implementation for iOS and
found ice4j. Are you aware of any attempt to port it to C?

One possibility I guess is to try out google's j2objc converter. However,
since j2objc hasn't implemented java.net package yet I guess that would
also be some work.

Thanks,
Ying


#2

Hey Ying,

···

On 18.01.13, 23:22, Ying Xie wrote:

I was looking for an LGPL or equivalent ICE implementation for iOS and
found ice4j. Are you aware of any attempt to port it to C?

One possibility I guess is to try out google's j2objc converter.
However, since j2objc hasn't implemented java.net <http://java.net>
package yet I guess that would also be some work.

Right. We were discussing this with Lyubo today actually. It's an
exciting effort and we hope that it would help us provide Jitsi on iOS
one day ... but as you've noticed yourself, it is not quite there yet.

Of course there's the option of adding that piece yourself. It wouldn't
be trivial but it shouldn't be extremely hard either.

Emil
--
https://jitsi.org


#3

Thanks for the quick response. You are right that it shouldn't be very
hard, since ice4j only uses a few classes in java.net package.

···

On Fri, Jan 18, 2013 at 2:28 PM, Emil Ivov <emcho@jitsi.org> wrote:

Hey Ying,

On 18.01.13, 23:22, Ying Xie wrote:
> I was looking for an LGPL or equivalent ICE implementation for iOS and
> found ice4j. Are you aware of any attempt to port it to C?
>
> One possibility I guess is to try out google's j2objc converter.
> However, since j2objc hasn't implemented java.net <http://java.net>
> package yet I guess that would also be some work.

Right. We were discussing this with Lyubo today actually. It's an
exciting effort and we hope that it would help us provide Jitsi on iOS
one day ... but as you've noticed yourself, it is not quite there yet.

Of course there's the option of adding that piece yourself. It wouldn't
be trivial but it shouldn't be extremely hard either.

Emil
--
https://jitsi.org


#4

I was looking for an LGPL or equivalent ICE implementation for iOS and
found ice4j. Are you aware of any attempt to port it to C?

What about libnice?

One possibility I guess is to try out google's j2objc converter.
However, since j2objc hasn't implemented java.net <http://java.net>
package yet I guess that would also be some work.

Right. We were discussing this with Lyubo today actually. It's an
exciting effort and we hope that it would help us provide Jitsi on iOS
one day ... but as you've noticed yourself, it is not quite there yet.

Sounds kinda crazy. Mono(Touch)'s effort with the C# AOT compiler at least
has proven to work, including garbage collection. Speaking of MonoTouch, if
that would be an option for your project, you could try converting Ice4J to
C# with Sharpen, which is probably a bit more advanced than j2objc atm (and
simpler as the two languages are far more similar).

Of course there's the option of adding that piece yourself. It wouldn't
be trivial but it shouldn't be extremely hard either.

Emil

Ingo

···

On 18.01.13, 23:22, Ying Xie wrote:


#5

One possibility I guess is to try out google's j2objc converter.
However, since j2objc hasn't implemented java.net <http://java.net>
package yet I guess that would also be some work.

Right. We were discussing this with Lyubo today actually. It's an
exciting effort and we hope that it would help us provide Jitsi on iOS
one day ... but as you've noticed yourself, it is not quite there yet.

Sounds kinda crazy.

I actually thought they had a rather reasonable approach. They have
specific translation source and destination languages and even an OS
that they can fine tune for, and they already seem to be building on
eclipse's language tree.

I for one I am looking forward to seeing how they continue!

Emil

···

On 19.01.13, 00:47, Ingo Bauersachs wrote:

Mono(Touch)'s effort with the C# AOT compiler at least
has proven to work, including garbage collection. Speaking of MonoTouch, if
that would be an option for your project, you could try converting Ice4J to
C# with Sharpen, which is probably a bit more advanced than j2objc atm (and
simpler as the two languages are far more similar).

Of course there's the option of adding that piece yourself. It wouldn't
be trivial but it shouldn't be extremely hard either.

Emil

Ingo

--
https://jitsi.org