[TxMt Plugins] Java (was Re: Run command on Event and other stuff)
chris at cjack.com
Sat Aug 6 19:08:37 UTC 2005
On Aug 6, 2005, at 10:50 AM, Tim Shadel wrote:
> So I'll be able to write my plugin in Java?
I'm dubious about it, for several reasons.
The most important one in this context is probably that the Cocoa
Java bridge is designed for applications. Even if you can somehow
manage to instantiate the Java VM from an Objective-C plugin, you may
take an enormous performance hit when your plugin initializes.
I think you'll have an easier time with Ruby, Perl, F-script, or
Python, all of which are to some degree designed to embed in pre-
existing applications, and all of which have some form of supported
Objective-C bridge. I don't think it would be too difficult to get
RubyCocoa, PyObjC, or F-Script working (no idea about the Perl one --
(Another reason is that IIRC Apple has said that the Cocoa Java
bridge is deprecated, or at least that they have no plans to update
it in the future.)
More information about the textmate-plugins