I am trying to embed engine in c++ application. i don't want the java-script built-in Methods and functions. I need it only for arithmetic and relational operators.
after exploring much in internet ,i got to know built-ins functions are de-serilized and put in from these native_blob.bin and snapshot_blob.bin . I commented v8::V8::InitializeExternalStartupData(argv[0]); , but throwing some run-time error. Could anyone please help me on this. Requirement : Embedding v8 engine without built-in functionality as i need it only for arithmetic, relational operators. I don't want these builts-in function gets de-serialized and put in heap ( https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects ) References: 1) https://v8.dev/blog/embedded-builtins. 2) https://v8.dev/blog/custom-startup-snapshots 3) https://v8.dev/docs/builtin-functions 4) https://v8.dev/blog/lazy-deserialization Thanks & Regards Praveen N -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/8dea5e1d-374d-42ea-a3f0-9c64cffeec38%40googlegroups.com.
