jitter ogl java vs javascript

Oct 23, 2006 at 5:20pm

jitter ogl java vs javascript

Forgive me if this already came up a zillion times, but I can’t find the
answers in the archive.

I’ve been doing most of my jitter in js, and for several reasons I’d love to
start using Java instead, but some things are not clear to me.

- if using jitter objects in java, are you crossing the java bridge on every
object function call?
- if so…. will the processing improvement of numerous for-loops and
if-statements in java (over js) easily outperform the hit of crossing this
bridge?
- can anyone recommend/discourage doing heavy open-gl processing through
Java instantiated Jitter objects?

cheers, -thijs

#28304
Oct 23, 2006 at 5:29pm

Hi Thijs,

Yes, you are crossing the “java bridge” every time you call a jitter
method from Java. However I would still expect Java to outperform js
in most cases. I have done lots of openGL processing in Java without
issue.

Ben

On 10/23/06, Thijs Koerselman

wrote:
> Forgive me if this already came up a zillion times, but I can’t find the
> answers in the archive.
>
> I’ve been doing most of my jitter in js, and for several reasons I’d love to
> start using Java instead, but some things are not clear to me.
>
> – if using jitter objects in java, are you crossing the java bridge on every
> object function call?
> – if so…. will the processing improvement of numerous for-loops and
> if-statements in java (over js) easily outperform the hit of crossing this
> bridge?
> – can anyone recommend/discourage doing heavy open-gl processing through
> Java instantiated Jitter objects?
>
> cheers, -thijs
>
>
>
>
>
>
>
>

#86750
Oct 23, 2006 at 7:32pm

Hi Ben, thanks for clearing this up. I’ll give it try then.

best, -thijs

On 10/23/06, Ben Nevile wrote:
>
> Hi Thijs,
>
> Yes, you are crossing the “java bridge” every time you call a jitter
> method from Java. However I would still expect Java to outperform js
> in most cases. I have done lots of openGL processing in Java without
> issue.
>
> Ben
>
>

#86751

You must be logged in to reply to this topic.