deno_core
deno_core copied to clipboard
The core engine at the heart of Deno
Note: This isn't so much a fix (yet) but a starting point for discussion. We've been running into a panic in `to_v8_error`: `Custom error class must have a builder registered:...
`core/examples/hello_world.rs` can not run on Android, it just crash when init. `deno_core` v0.280.0 `rusty_v8` v0.91.1 build command: ```sh export PATH=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH export CC_aarch64_linux_android=aarch64-linux-android28-clang export CXX_aarch64_linux_android=aarch64-linux-android28-clang++ export AR_aarch64_linux_android=llvm-ar export CARGO_TARGET_AARCH64_LINUX_ANDROID_LINKER=aarch64-linux-android28-clang cd core...
This is a first pass at `ARCHITECTURE.md`, a high-level overview of how `deno_core` works.
We don't have a good way to handle nullable objects for `cppgc` types. Ideally we'd automatically handle them via null handling in params and return values.
Ideally the re-entrancy guard should only protect the op call itself, not the surrounding error-handling code that is out of control of the op writer.
- [ ] Avoid serializing module globals for modules that won't be imported using `import "module"` syntax. These add extra overhead to the snapshot. We may be able to avoid...
Some points: 1. The buffer is generated from .rs, and returned to v8 js. For example audioContext.decodeAudio() gets a AudioBuffer; 2. The buffer can be used multi times, Such as...
Discussed extensively with @nathanwhit @mmastrac and @dsherret. We are planning to remove `serde_v8` completely. The reason is that in most cases using `serde_v8` is a big footgun in terms of...
I was experimenting with `deno` and `deno_core` to implement a runtime similar to what [workerd](https://github.com/cloudflare/workerd) has. Basically for different script it creates different isolates. At first i tried creating a...