Age | Commit message (Collapse) | Author |
|
Fixes #419, #414.
|
|
|
|
|
|
|
|
|
|
|
|
This is a utility function for CodeCache and other handlers.
|
|
|
|
|
|
- Add build scripts for Rust flatbuffers.
- Rewrites some reply.cc methods in Rust.
- Changes some struct elements to table in msg.fbs (rust flatbuffers
lacks support currently)
- Renames handlers_test to test_rs.
- This reorg is needed to make progress on the code cache handler.
|
|
Apologies for the churn, but my screen is small. rustfmt assumes big
monitors.
|
|
|
|
|
|
|
|
Implements code_fetch handler in Rust.
Add ability to embed string assets (for typescript declaration files)
Remove deno_cc and deno_cc_nosnapshot targets.
|
|
|
|
* send()/recv() now operate on TypedArrays rather than ArrayBuffers.
* Remove a copy (through ArrayBuffer.slice()) from the send path.
* Remove a copy (through v8::ArrayBuffer::New()) from the return path.
* After moving a buffer from JS to native, the ArrayBuffer object and
it's views are made inaccessible ('neutered').
* `struct deno_buf` now holds two [ptr, length] tuples, one for the actual
memory allocation, and one for the logical data contained therein.
This is necessary because flatbuffers fills it's buffer bottom-up, so
the serialized blob doesn't start at beginning of the buffer, but
somewhere in the middle.
|
|
This makes `deno` not crash any more.
|
|
|
|
|
|
|
|
|
|
|