mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
A modern runtime for JavaScript and TypeScript.
https://deno.com/
53b6356ec5
op_fetch_module_meta_data is an op that is used by the TypeScript compiler. TypeScript requires this op to be sync. However the implementation of the op does things on the event loop (like fetching HTTP resources). In certain situations this can lead to deadlocks. The runtime's thread pool can be filled with ops waiting on the result of op_fetch_module_meta_data. The runtime has a maximum number of threads it can use (the number of logical CPUs on the system). This patch changes tokio_util::block_on to launch a new Tokio runtime for evaluating the future, thus bipassing the max-thread problem. This is only an issue in op_fetch_module_meta_data. Other synchronous ops are truly synchornous, not interacting with the event loop. TODO comments are added to direct future development. |
||
---|---|---|
.github | ||
build@7b594236fb | ||
build_extra | ||
cli | ||
core | ||
js | ||
prebuilt | ||
tests | ||
third_party@d6515fbb3d | ||
tools | ||
website | ||
.appveyor.yml | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.gn | ||
.prettierignore | ||
.prettierrc.json | ||
.rustfmt.toml | ||
.travis.yml | ||
.yarnclean | ||
BUILD.gn | ||
build_overrides | ||
buildtools | ||
Cargo.lock | ||
Cargo.toml | ||
deno.gni | ||
gclient_config.py | ||
LICENSE | ||
node_modules | ||
package.json | ||
README.md | ||
Releases.md | ||
rollup.config.js | ||
testing | ||
tsconfig.json |
deno
A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio.
Linux & Mac | Windows |
---|---|
Deno aims to provide a productive and secure scripting environment for the modern programmer. It is built on top of V8, Rust, and TypeScript.
Please read the introduction for more specifics.