24 Aug 2005
GCJ/Perl Integration
Anthony pointed me to the facination GCJ/Perl Integration project by David Rusek. This is one of the google Summer of Code projects. See also:
So now you can write mixed C++ and GCJ code in Perl:
#!/usr/bin/perl -w
use strict;
use warnings;
use GCJ::Cni;
use BasicJavaClass;
GCJ::Cni::JvCreateJavaVM(undef);
GCJ::Cni::JvAttachCurrentThread(undef, undef);
my $basic_java_class = new BasicJavaClass();
$basic_java_class->saySomething();
GCJ::Cni::JvDetachCurrentThread();
Cute!