From 0a26230a8753c7bb4b0f318fb12af0b219337446 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 4 Apr 2019 09:35:52 -0400 Subject: Improve docs in core (#2049) --- website/manual.md | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'website') diff --git a/website/manual.md b/website/manual.md index 70bf55537..7480e25ff 100644 --- a/website/manual.md +++ b/website/manual.md @@ -50,7 +50,7 @@ Deno provides a set of reviewed - File system and network access can be controlled in order to run sandboxed code. Access between V8 (unprivileged) and Rust (privileged) is only done via serialized messages defined in this - [flatbuffer](https://github.com/denoland/deno/blob/master/src/msg.fbs). This + [flatbuffer](https://github.com/denoland/deno/blob/master/cli/msg.fbs). This makes it easy to audit. For example, to enable write access use the flag `--allow-write` or for network access `--allow-net`. @@ -705,21 +705,18 @@ Current executable set to '../deno/target/debug/deno' (x86_64). (lldb) r ``` -### libdeno +### Deno Core -deno's privileged side will primarily be programmed in Rust. However there will -be a small C API that wraps V8 to 1) define the low-level message passing -semantics, 2) provide a low-level test target, 3) provide an ANSI C API binding -interface for Rust. V8 plus this C API is called "libdeno" and the important -bits of the API is specified here: -[deno.h](https://github.com/denoland/deno/blob/master/libdeno/deno.h) -[libdeno.ts](https://github.com/denoland/deno/blob/master/js/libdeno.ts) +The core binding layer for Deno. It is released as a +[standalone crate](https://crates.io/crates/deno). Inside of core is V8 itself, +with a binding API called "libdeno". See the crate documentation for more +details. ### Flatbuffers We use Flatbuffers to define common structs and enums between TypeScript and Rust. These common data structures are defined in -[msg.fbs](https://github.com/denoland/deno/blob/master/src/msg.fbs) +[msg.fbs](https://github.com/denoland/deno/blob/master/cli/msg.fbs) ### Updating prebuilt binaries -- cgit v1.2.3