Re: ANNOUNCE: Inline::Java 0.21
[email protected] Mon, 14 May 2001 14:34:21 -0700 (PDT)
| Newsgroups | perl.jpl,perl.inline |
|---|---|
| Message-ID | <[email protected]> |
There might have been something like this in the Perl Bookshelf? Can't remember if it was perl embedded in java or the other way around. I think the trick was to JNI-ize perl's main interpreter entry-point & pass text to it on the fly = not pretty & a serious pain to maintain as perl & java kept moving forward & very machine & architechture specific. Don't think it's too bad if it's only for one specific machine & OS. Or in the near term try to re-formulate your problem to fit into Inline or Java.pm & wait until Perl6! M ------------------------------------------ Mark Ethan Trostler [email protected] Computing Solutions http://www.zzo.com ------------------------------------------ On 14 May 2001, Paul Edlefsen wrote: > Perhaps an aside, but I've been wondering how to use Perl as a > scripting language in Java. I'd rather not do this by spawning a perl > process on the user's machine, if I can avoid it. I've worked on Silk > (Scheme in Java), and have found other interpreters such as JPython, > but there seems to be nothing like this for Perl. Perl 6.0 promises > to run in Java (among other platforms), but I'm looking for a > near-term solution. > > In the Inline::Java announcement I see "Inline::Java lets you write > Perl classes in Java.", but it seems only to let you write perl > classes in java *in perl*. I'd love to write perl code in Java, minus > the perl interface. Short of rewriting the perl codebase in Java, > does anyone on this list see a solution? > > Perl is an awesome scripting language and is widely used in > bioinformatics, where Java tools are beginning to take over the > market. If perl could continue to be used as a scripting language in > these new Java tools, the migration would be smoother and biologists > would continue to learn perl, which is (imo) a Good Thing. > > Thanks, > :Paul > > -- > Paul T. Edlefsen Software Engineer > <<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>> > Computational Biology Group > The Institute for Systems Biology > 4225 Rooosevelt Way NE, Suite 200 > Seattle, WA 98105 > [email protected] > <<<<<<<<<<<<<<<< >>>>>>>>>>>>>>>>> > Phone: (206)732-1336 > Fax: (206)732-1299 >