1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 08:09:06 -05:00
denoland-deno/ext/node
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
..
benchmarks fix: implement child_process IPC (#21490) 2023-12-13 11:14:16 +01:00
ops fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
polyfills fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
analyze.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00
build.rs build: allow disabling snapshots for dev (#20048) 2023-08-06 01:47:15 +02:00
Cargo.toml fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
clippy.toml refactor(ext/fs): deno_fs::FileSystem - conditional Send + Sync (#18993) 2023-05-08 11:02:02 -04:00
errors.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00
global.rs fix(ext/node): include non-enumerable keys in Reflect.ownKeys(globalThis) (#21485) 2023-12-07 21:34:44 +05:30
lib.rs fix(node): child_process IPC on Windows (#21597) 2023-12-19 13:37:22 +01:00
package_json.rs fix(node): inspect ancestor directories when resolving cjs re-exports during analysis (#21104) 2023-11-07 09:56:06 -05:00
path.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00
polyfill.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00
README.md chore(ext/node): correct publishing for ext/node (#15461) 2022-08-11 17:25:41 -04:00
resolution.rs fix(node): support resolving a package.json import to a builtin node module (#21576) 2023-12-14 15:09:05 +00:00

deno_node

require and other node related functionality for Deno.