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

Bug#706713: ITP: plv8 -- Procedural language interface between PostgreSQL and JavaScript



On 04/05/2013 09:17, Evgeni Golov wrote:
> On 05/04/2013 12:36 AM, Jérémy Lal wrote:
>> They are probably including coffeescript.js as a constant string array.
>> In the case of v8, nodejs, using similar techniques, it is okay since
>> they include their own binding code. But plv8 including a copy of coffeescript
>> looks weirder.
> 
> As far as I understand the code, they load the (coffe|live)script as a
> string array, feed it to V8 and then let the result compile the input
> from CS/LS to JS at runtime, and execute that via V8 again.
> (https://code.google.com/p/plv8js/source/browse/plv8.cc#942)

The question is : why don't they load the code from file at run time ?
It is so simpler...

Jérémy.

 


Reply to: