V8 doesn't have support for loading files. To implement this on the C++
side, have a look at the samples/shell.cc that implements a load() method.
best
-jochen
On Wed, Apr 20, 2016 at 10:59 AM wrote:
> Thanks for your reply,
> To be precise I have written an
Hey,
I don't think dropping the JS dependencies will significantly drop the
required operations for the assembly backend. You could disable the
optimizing compilers (--noopt) and compile without a snapshot and see how
far you can get there, but in general, porting v8 to another architecture
is a
Hello guys.
I'm writing my own port v8 engine with exotic architecture.
As I can see in code v8 load a lot of built-in js files:
array-iterator.js array.js arraybuffer.js collection-iterator.js
collection.js generator.js harmony-atomics.js harmony-object-observe.js
harmony-regexp.js
Thanks for your reply,
To be precise I have written an equivalent function in .js file. Which I
can call from C++ using V8. But I don't know how to include external JS file
See the below code snippet
//include("http://cryptojs.altervista.org/api/functions_cryptography.js;);
function AESEncrypt
Hey,
it's not clear from your question what you're asking.
The snippet is actually an HTML snippet, so I'd expect that pasting it into
an HTML file an opening in a browser does what you expect it to do?
It doesn't look, however, related to V8 development. Please reach out to
the authors /