Subject: Re: [boost] JNI library
From: Dave Abrahams (dave_at_[hidden])
Date: 2012-06-22 14:02:37
on Sun Jun 17 2012, Felipe Magno de Almeida <felipe.m.almeida-AT-gmail.com> wrote:
> On Sun, Jun 17, 2012 at 4:50 PM, Dave Abrahams <dave_at_[hidden]> wrote:
>> on Sat Jun 16 2012, Felipe Magno de Almeida <felipe.m.almeida-AT-gmail.com> wrote:
>>> Any comments are appreciated,
>> 1. Last time I looked, it was impossible to do this without a textual
>> Â 'C' code generation layer. Â I don't remember enough about the details
>> Â to describe the reasons, but I'd be interested to know how you get
>> Â around this if you recognize the limitation to which I'm referring.
> The code I've pasted doesn't actually tells the whole story, in this case
> there is also a .java file which implements the Java class.
Oh, right. Java code generation, not 'C'.
> This class file could be generated by the javabind library, but I
> thought it would be overkill for what I needed and might actually make
> the loading time longer, since it would have to be generated.
You don't have to generate it at (java) runtime.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk