[linux-audio-dev] Re: hybrid midi/textual sequencer & java real-time deliverability

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: [linux-audio-dev] Re: hybrid midi/textual sequencer & java real-time deliverability
From: David Slomin (dgslomin_AT_CS.Princeton.EDU)
Date: to syys   09 1999 - 16:55:17 EDT


On Wed, 8 Sep 1999 est_AT_hyperreal.org wrote:

> > Want me to implement it or will you?
>
> Go for it..no reason not to fold the unwrapping into your sequencer
> though I think it may be worthwhile to keep it logically separable.

Yes, I'll definitely keep it separate.
 
> Here's a random question for you that amplifies Jair-Rohm's query: how
> deliverable is Java at this point for real-time purposes? I'm
> especially concerned about garbage collection pauses. I know they
> aren't inherent in the language.

I'm not yet doing any realtime I/O in the sequencer, so I haven't been
able to test the performance yet. When the time comes, I plan to do as
much as possible of the realtime stuff in C via JNI. At that point, the
latency issues will be on a par with any C program.

My prior experience with JVM's has been that they _never_ garbage collect
until they actually run out of memory. I don't know if this is still the
case; I know that the garbage collection process is usually a major point
of concern in garbage collected languages like Lisp. However, Java has
managed to squeak by in this because most Java programs (and especially
applets) are small and short-lived, so they tend not to run out of memory
during their lifespan.

Div.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:27:11 EST