List Info

Thread: Binding code generation




Binding code generation
user name
2007-06-28 16:50:47
Rene,

I know that we talked about generating bytecode to load
dynamically,
but I think that it may be valuable to *also* provide Java
source code
for the linkage classes.  For security reasons, it may not
be
desirable (or possible with some installations) to load a
class from
generated bytecode.  If we also had a source code generator,
users who
desire a .java file could get one.  Another benefit would be
the
ability to inherit from the class directly.

-- 
John Moeller
fishcorngmail.com

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Boost-langbinding mailing list
Boost-langbindinglists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boost
-langbinding

Re: Binding code generation
country flaguser name
United States
2007-06-28 20:29:19
John Moeller wrote:
> Rene,
> 
> I know that we talked about generating bytecode to load
dynamically,
> but I think that it may be valuable to *also* provide
Java source code
> for the linkage classes.  For security reasons, it may
not be
> desirable (or possible with some installations) to load
a class from
> generated bytecode.  If we also had a source code
generator, users who
> desire a .java file could get one.  Another benefit
would be the
> ability to inherit from the class directly.

Nevermind; I suppose inheriting is possible even if all you
have is a 
class file.  It still may be valuable for a number of
reasons, though.

-- 

John Moeller
fishcorngmail.com


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Boost-langbinding mailing list
Boost-langbindinglists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boost
-langbinding

Re: Binding code generation
country flaguser name
United States
2007-06-29 17:28:31
John Moeller wrote:
> John Moeller wrote:
>> Rene,
>>
>> I know that we talked about generating bytecode to
load dynamically,
>> but I think that it may be valuable to *also*
provide Java source code
>> for the linkage classes.  For security reasons, it
may not be
>> desirable (or possible with some installations) to
load a class from
>> generated bytecode.  If we also had a source code
generator, users who
>> desire a .java file could get one.  Another benefit
would be the
>> ability to inherit from the class directly.
> 
> Nevermind; I suppose inheriting is possible even if all
you have is a 
> class file.  It still may be valuable for a number of
reasons, though.

Wait, to inherit, you'd still need a class file.  So I
correct myself again.

Thinking in two languages is hard.

-- 

John Moeller
fishcorngmail.com


------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Boost-langbinding mailing list
Boost-langbindinglists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/boost
-langbinding

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )