Find a file
Ryan Dahl 161cf7cdfd
refactor: Use Tokio's single-threaded runtime (#3844)
This change simplifies how we execute V8. Previously V8 Isolates jumped
around threads every time they were woken up. This was overly complex and
potentially hurting performance in a myriad ways. Now isolates run on
their own dedicated thread and never move.

- blocking_json spawns a thread and does not use a thread pool
- op_host_poll_worker and op_host_resume_worker are non-operational
- removes Worker::get_message and Worker::post_message
- ThreadSafeState::workers table contains WorkerChannel entries instead
  of actual Worker instances.
- MainWorker and CompilerWorker are no longer Futures.
- The multi-threaded version of deno_core_http_bench was removed.
- AyncOps no longer need to be Send + Sync

This PR is very large and several tests were disabled to speed
integration:
- installer_test_local_module_run
- installer_test_remote_module_run
- _015_duplicate_parallel_import
- _026_workers
2020-02-03 18:08:44 -05:00
.github upgrade: Rust 1.41.0 (#3838) 2020-01-31 04:49:13 -05:00
cli refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
core refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
deno_typescript v0.32.0 2020-02-03 16:36:07 +01:00
std fix: Deno.remove() to properly remove dangling symlinks (#3860) 2020-02-03 08:20:15 -05:00
test_plugin s/PinnedBuf/ZeroCopyBuf (#3782) 2020-01-24 15:10:49 -05:00
third_party@9ab7948049 Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
tools refactor: Use Tokio's single-threaded runtime (#3844) 2020-02-03 18:08:44 -05:00
.editorconfig editorconfig: Don't insert final newline in .out files (#1686) 2019-02-07 11:31:49 -05:00
.eslintignore feat: dprint formatter (#3820) 2020-01-29 21:16:48 -05:00
.eslintrc.json Remove tsconfig files - they are not part of build process (#3262) 2019-11-04 18:13:28 -05:00
.gitattributes Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
.gitignore Update .gitignore 2019-12-02 08:05:29 -08:00
.gitmodules Replace libdeno with rusty_v8 (#3556) 2020-01-05 09:19:29 -05:00
.prettierignore Loader: support .wasm imports (#3328) 2019-11-14 08:31:39 -05:00
.prettierrc.json tools/format: format markdown files with prettier 2018-10-04 02:02:23 -07:00
.rustfmt.toml change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
Cargo.lock upgrade: dprint 0.3.0-alpha.6 2020-02-03 15:52:32 -05:00
Cargo.toml feat: first pass at native plugins (#3372) 2019-12-05 15:30:20 -05:00
LICENSE change copyrights from 2019 to 2020 (#3733) 2020-01-21 10:01:55 -05:00
README.md Upgrade node_modules, change tagline, clean up root directory (#3247) 2019-10-31 19:33:27 -07:00
Releases.md v0.32.0 2020-02-03 16:36:07 +01:00

Deno

A secure runtime for JavaScript and TypeScript.

Build Status

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.

Website

Manual

Install

API Reference

Style Guide

Module Repository

Releases

Chat

More links