|
|
MakeMusic Forum > Public Forums > Plug-In Development - FORUM HAS MOVED! > java? | Forum Quick Jump
|
| donkermazoid Registered Member
Date Joined Jul 2003 Total Posts : 1 | Posted 7/21/2003 8:54 AM (GMT -6) | |
Is it possible to program plugins in java? It is he language I am most familiar with, and while the coda site reccomends c++, it does not say c++ must be used exclusively. Can anyone let me know?
thnks
| Back to Top | |
| Michael Good MusicXML Maven
Date Joined May 2000 Total Posts : 1299 | Posted 7/21/2003 1:03 PM (GMT -6) | |
Hi Damien,
The core of a plug-in must be programmed in C or C++. Plug-ins must have 6 specific non-mangled function names to be loaded into Finale, and there's no way to get that in Java, Visual Basic, and many other languages.
However, once you have the core in C++, the bulk can be written in another language. We are in the process of porting our Dolet plug-in from VB to Java so we can run it on the Mac. There's an awful lot of JNI code involved to do this. Our plug-in is complex enough that it's worth it to put as much complexity as possible in Java and just do very simple things in C++. The JNI code is dwarfed by everything else going on in Java. But you'd need a big plug-in to make it worthwhile.
For a first plug-in, you'll probably find it easier to work in C++ to get familiar with the PDK - unless you're a real wizard with JNI.
Best regards,
Michael Good
Recordare LLC
http://www.recordare.com
| Back to Top | | Forum Information | Currently it is Tuesday, December 19, 2023 8:13 PM (GMT -6) There are a total of 403,820 posts in 58,165 threads. In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|