4 ms·
Javascript itself it's not too hard to compile to C. The LiteScript added value will be to be able to test & debug as js, and then compile to C for production
by lucio 13y ago
Javascript itself it's not too hard to compile to C.
The LiteScript added value will be to be able to test & debug as js, and then compile to C for production (adding all the boilerplate required for a nodejs extension).
The only thing I see as "easier to compile to C" (LiteScript vs js) is that in LiteScript you define classes & properties, so it's easier to define a C++ class from a LiteScript class.