1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-08 23:28:18 -05:00
denoland-deno/ext/node/ops
Divy Srivastava 55fac9f5ea
fix(node): child_process IPC on Windows (#21597)
This PR implements the child_process IPC pipe between parent and child.
The implementation uses Windows named pipes created by parent and passes
the inheritable file handle to the child.

I've also replace parts of the initial implementation which passed the
raw parent fd to JS with resource ids instead. This way no file handle
is exposed to the JS land (both parent and child).

`IpcJsonStreamResource` can stream upto 800MB/s of JSON data on Win 11
AMD Ryzen 7 16GB (without `memchr` vectorization)
2023-12-19 13:37:22 +01:00
..
crypto fix(ext/node): sign with PEM private keys (#21287) 2023-12-03 09:58:13 +05:30
zlib chore(ext/node): use libz-sys w/zlib-ng feature in node (#21158) 2023-11-11 07:20:12 -07:00
fs.rs perf(node/fs): faster existsSync when not exists (#21458) 2023-12-04 21:05:40 +00:00
http.rs refactor: use resourceForReadableStream for fetch (#20217) 2023-12-01 08:56:10 -07:00
http2.rs chore: update deno_core and port all remaining ops to op2 (#20954) 2023-10-25 13:43:38 +02:00
idna.rs refactor: rewrite ext/node to op2 (#20489) 2023-09-14 08:29:44 +02:00
ipc.rs fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
mod.rs fix: implement child_process IPC (#21490) 2023-12-13 11:14:16 +01:00
os.rs fix(ext/node): implement process.geteuid (#21151) 2023-11-10 11:49:57 -07:00
require.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00
util.rs fix: implement node:tty (#20892) 2023-10-30 15:53:08 +00:00
v8.rs fix(ext/node): basic vm.runInNewContext implementation (#21527) 2023-12-11 07:08:45 +00:00
winerror.rs chore(ext/node): port some ops to op2 (#20400) 2023-09-07 10:56:02 -06:00