Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-09-05 | feat(ext/ffi): Support bool FFI type (#15754) | Aapo Alasuutari | |
2022-08-23 | BREAKING(ext/ffi): specialized `buffer` type (#15518) | Divy Srivastava | |
2022-08-11 | perf(ops): Monomorphic sync op calls (#15337) | Aapo Alasuutari | |
Welcome to better optimised op calls! Currently opSync is called with parameters of every type and count. This most definitely makes the call megamorphic. Additionally, it seems that spread params leads to V8 not being able to optimise the calls quite as well (apparently Fast Calls cannot be used with spread params). Monomorphising op calls should lead to some improved performance. Now that unwrapping of sync ops results is done on Rust side, this is pretty simple: ``` opSync("op_foo", param1, param2); // -> turns to ops.op_foo(param1, param2); ``` This means sync op calls are now just directly calling the native binding function. When V8 Fast API Calls are enabled, this will enable those to be called on the optimised path. Monomorphising async ops likely requires using callbacks and is left as an exercise to the reader. | |||
2022-08-05 | feat(ext/ffi): Add static method variants to Deno.UnsafePointerView (#15146) | Aapo Alasuutari | |
2022-07-28 | perf(ext/ffi): use fast api calls for 64bit return types (#15313) | Divy Srivastava | |
2022-07-24 | feat(ext/ffi): Safe number pointers (#15173) | Aapo Alasuutari | |
2022-07-23 | feat(ext/ffi): Add support to get ArrayBuffers from UnsafePointerView (#15143) | Aapo Alasuutari | |
2022-07-22 | perf(ext/ffi): Optimise common pointer related APIs (#15144) | Aapo Alasuutari | |
2022-07-09 | fix(ext/ffi): Avoid keeping JsRuntimeState RefCell borrowed for event loop ↵ | Aapo Alasuutari | |
middleware calls (#15116) | |||
2022-06-29 | perf(ext/ffi): optimize synchronous calls (#14945) | Divy Srivastava | |
2022-06-28 | feat(ext/ffi): Thread safe callbacks (#14942) | Aapo Alasuutari | |
2022-06-20 | BREAKING(ext/ffi): Remove `Deno.UnsafePointer` indirection (#14915) | Divy Srivastava | |
2022-06-20 | feat(ext/ffi): Callbacks (#14663) | Aapo Alasuutari | |
This commit adds support for unstable FFI callbacks. A callback is registered using the `Deno.UnsafeCallback` API. The backing memory for the callback can be disposed of using `Deno.UnsafeCallback#close`. It is not safe to pass the callback after calling close. Callbacks from other than the isolate thread are not supported. Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2022-06-08 | feat(ext/ffi): support passing and returning bigints (#14523) | Elias Sjögreen | |
2022-02-18 | feat(ext/ffi): Support read only global statics (#13662) | Aapo Alasuutari | |
2022-02-01 | refactor: primordials for instanceof (#13527) | Bartek Iwańczuk | |
2022-01-27 | Revert "refactor: update runtime code for primordial checks for "instanceof" ↵ | Bartek Iwańczuk | |
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. | |||
2022-01-27 | refactor: update runtime code for primordial checks for "instanceof" (#13497) | Bartek Iwańczuk | |
2022-01-12 | feat(ext/ffi): UnsafeFnPointer API (#13340) | DjDeveloper | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-15 | feat(ext/ffi): implement UnsafePointer and UnsafePointerView (#12828) | Elias Sjögreen | |
2021-10-06 | feat(ext/ffi): add support for buffer arguments (#12335) | Bartek Iwańczuk | |
This commit adds support for passing buffer arguments across FFI boundary. Co-authored-by: eliassjogreen <eliassjogreen1@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2021-10-05 | feat(ext/ffi): Non-blocking FFI (#12274) | Divy Srivastava | |
2021-08-24 | feat(unstable): Support file URLs in Deno.dlopen() (#11658) | Nayeem Rahman | |
2021-08-11 | Rename extensions/ directory to ext/ (#11643) | Ryan Dahl | |