summaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2018-07-20Use 2 space indent.Ryan Dahl
Apologies for the churn, but my screen is small. rustfmt assumes big monitors.
2018-07-20Wrap rust at 80 columns.Ryan Dahl
2018-07-19cleanup: Move C extern code to src/binding.rsRyan Dahl
2018-07-18Better exception output.Ryan Dahl
2018-07-18Execute JS for the first time in Rust rewrite.Ryan Dahl
Implements code_fetch handler in Rust. Add ability to embed string assets (for typescript declaration files) Remove deno_cc and deno_cc_nosnapshot targets.
2018-07-13Run tools/format.pyRyan Dahl
2018-07-12Move buffers between V8 and nativeBert Belder
* 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.
2018-07-12Remove channel argument from Rust message callbackBert Belder
This makes `deno` not crash any more.
2018-07-04Replace protobufs with flatbuffersRyan Dahl
2018-07-03Switch back to recv/send instead of pub/sub for low-level API.Ryan Dahl
2018-07-03Rustify Deno APIRobby Madruga
2018-07-03Call into JS from rustRyan Dahl
2018-06-22Move `deno2` folder to `src` (#277)Tristan Marion