Re: [Vala] inline C



On Mon, 2008-12-15 at 09:18 -0800, Conrad Steenberg wrote:
On Sat, 2008-12-13 at 13:00 -0500, Jamie McCracken wrote:
The disadvantage to inlining is it destroys the platform independence -
IE you would not be able to create a gcc front end for vala nor would
you be able to have vala->c++ or vala->jvm/clr. 

jamie

Hmmm, I would love to be able to use C++ libraries from Vala (or Genie,
since it's a natural jump from Numeric Python which I currently use).

Any ideas on how to do that? Compile the vala/genie-produced C code with
a C++ compiler?


if you want vala to output to c++ objects instead of gobject C then you
would have to code a backend for vala but this is a lot of work 

jamie





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]