Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-12 | refactor(deno): remove concept of bin & json ops (#10145) | Aaron O'Mullan | |
2021-04-02 | refactor(ops): remove variadic buffers (#9944) | Aaron O'Mullan | |
2021-03-31 | refactor: new optimized op-layer using serde_v8 (#9843) | Aaron O'Mullan | |
- Improves op performance. - Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs per op-encoding (aka: out-of-payload). - Remove shared queue & custom "asyncHandlers", all async values are returned in batches via js_recv_cb. - The op-layer should be thought of as simple function calls with little indirection or translation besides the conceptually straightforward serde_v8 bijections. - Preserve concepts of json/bin/min as semantic groups of their inputs/outputs instead of their op-encoding strategy, preserving these groups will also facilitate partial transitions over to v8 Fast API for the "min" and "bin" groups | |||
2021-02-13 | refactor(core): Strongly typed deserialization of JSON ops (#9423) | Jared Beller | |
This PR makes json_op_sync/async generic to all Deserialize/Serialize types instead of the loosely-typed serde_json::Value. Since serde_json::Value implements Deserialize/Serialize, very little existing code needs to be updated, however as json_op_sync/async are now generic, type inference is broken in some cases (see cli/build.rs:146). I've found this reduces a good bit of boilerplate, as seen in the updated deno_core examples. This change may also reduce serialization and deserialization overhead as serde has a better idea of what types it is working with. I am currently working on benchmarks to confirm this and I will update this PR with my findings. | |||
2021-01-10 | update copyright to 2021 (#9081) | Ryan Dahl | |
2020-09-23 | Add example for deno_core (#7611) | Valentin Anger | |