Re: About gcj present and future

Andrew Haley <[email protected]> Thu, 17 Jan 2013 19:29:14 +0000
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On 01/17/2013 07:17 PM, [email protected] wrote:
> 
> GCJ has several cool features.  The important one to me is CNI.  A CNI  
> interface to OpenJDK would be a positive step for the credibility of  
> CNI and hence GCJ.  Not to mention it would be extremely useful to  
> OpenJDK.
> 
> I'm a programmer, but I honestly have no idea the level of effert  
> required for such a feature, or if it is even in the realm of  
> realistic.  I suspect there are both a brute-force-almost-impossible  
> method and an extremely clever 10K SLOC method.

You wouldn't get CNI exactly, but it would certainly be possible
to get close.  The C++ and Java type systems aren't really compatible,
so you'd have to be pretty devious.

Andrew.