Re: Java and CoreAudio
Re: Java and CoreAudio
- Subject: Re: Java and CoreAudio
- From: Bob Lang <email@hidden>
- Date: Sun, 13 Jun 2004 14:58:21 +0100
On 13 Jun 2004, at 10:19, Brian Willoughby wrote:
[ ... there is no real loss in choosing Java and CoreAudio compared
to this
[ approach. Further CoreAudio Audio Units written in Java should be
able to
[ integrate with any other CoreAudio product.
What about performance issues? It seems like a really bad idea to
waste CPU
processing power by writing an audio plugin in a byte-code interpreted
language. I'm no Java expert, but it seems like your users would be
disappointed with an AudioUnit written in Java, especially if they
like to use
lots of AUs in a realtime session or audio graph.
Oh dear! Not that tired old myth *again*!
This link
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/
perf2.html#vm
gives a full description of the numerous performance enhancements to
Java
from the heady days of Java 1.0. To summarise, the JIT system within
the JVM
compiles the Java byte code into native code as each method is called.
Once
converted, subsequent calls take place at full native code speed. So,
after
a slow start, the application quickly comes up to full speed. In my
experience,
Java can more than hold its own against other high level languages and
it's
completely portable.
Okay - we're all Mac users here so I guess we all love the beauty of OS
X, but
out there it's a big, bad, Micro$oft world and that's the way it's
going to be for the
forseeable future. Why write an application for what is (sadly) a
minority platform
like OS X, when with Java you can write an application that runs on OS
X *and*
Windows *and* Suns *and* Linux?
Bob
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.