V8 primarily stores javascript as javascript code and it's been stated in 
multiple places that javascript source code as source code is actually one 
of the most efficient ways to ways to store js source. This article 
<http://mozakai.blogspot.com/2011/11/code-size-when-compiling-to-javascript.html>by
 
the original creator of emscripten discusses comparisons C/C++ libraries 
compiled to Javascript via LLVM-->js where the js is roughly equal to the 
*compiled* binaries in source code size, is as fast or faster as any 
hand-written code, and the gap between efficiency of compiled c/c++ and js 
as an ever narrowing gap. 

There's a distinct problem with the goal of attempting to obfuscate/secure 
distributed Javascript code when the consensus behind implementations is 
behind continuing to use source-code as not only the method of 
distribution, but as the actual internal representation the virtual machine 
uses to store most of the code while its executing.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to