Re: [v8-users] How to implement a Native Mesaging host using d8?

2022-10-22 Thread guest271314
I know. Node.js is to bloated to justify using other than for preference. And there is no way that I am aware of to build `node` executable with only standard JavaScript implementation, Process, File system modules https://github.com/guest271314/native-messaging-nodejs/blob/main/nm_nodejs.js -

Re: [v8-users] How to implement a Native Mesaging host using d8?

2022-10-22 Thread guest271314
I am not sure how to test the following in d8.cc. Ideally some kind of static code analyzer or optimizer could scan existing Node.js code and identify only the modules used, note them, then build v8 and d8 (and node executable) to do only the task written in JavaScript source code. Unfortunately

Re: [v8-users] How to implement a Native Mesaging host using d8?

2022-10-22 Thread Ben Noordhuis
On Sat, Oct 22, 2022 at 4:09 PM guest271314 wrote: > > I have implemented Native Messaging hosts using QuickJS, Deno, and Node.js > where it is possible to read stdin and write to stdout. > > How would you go about implementing a Native Messaging host using d8? I probably wouldn't. :-) d8

[v8-users] How to implement a Native Mesaging host using d8?

2022-10-22 Thread guest271314
I have implemented Native Messaging hosts using QuickJS, Deno, and Node.js where it is possible to read stdin and write to stdout. How would you go about implementing a Native Messaging host using d8? -- -- v8-users mailing list v8-users@googlegroups.com