1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/runtime/rt
Bartek Iwańczuk 6984b63f2f
refactor: rewrite ops to use ResourceTable2 (#8512)
This commit migrates all ops to use new resource table
and "AsyncRefCell".

Old implementation of resource table was completely 
removed and all code referencing it was updated to use
new system.
2020-12-16 17:14:12 +01:00
..
00_bootstrap_namespace.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_build.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_colors.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_errors.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_internals.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_version.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
01_web_util.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
02_console.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
06_util.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
10_dispatch_minimal.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
11_timers.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
11_workers.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
12_io.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
13_buffer.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
27_websocket.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
30_files.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
30_fs.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
30_metrics.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
30_net.js refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
30_os.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_compiler_api.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_diagnostics.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_error_stack.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_fs_events.js refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
40_net_unstable.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_performance.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_permissions.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_plugins.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_process.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_read_file.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_signals.js refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
40_testing.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_tls.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_tty.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
40_write_file.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
41_prompt.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
90_deno_ns.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
99_main.js refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
README.md refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is a plain, old script, not ES modules. The reason is that snapshotting ES modules is much harder, especially if one needs to manipulate global scope (like in case of Deno).

Each file is prefixed with a number, telling in which order scripts should be loaded into V8 isolate. This is temporary solution and we're striving not to require specific order (though it's not 100% obvious if that's feasible).

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs