Divy Srivastava
Divy Srivastava
Low priority, This will complicate the FFI code for platforms we only theoretically support.
The `mitata` library has a good explanation: https://github.com/evanwashere/mitata#jit-bias > "JIT bias". In simple words, v8 and JSC JIT expect us to pass the same function, so they optimize for it,...
Still a case of 'JIT bias', notice the `max` results for the first bench. V8 deoptimizes when it sees that the function is not what it expected. Also, adding two...
Consider using https://deno.land/x/byte_type for that. ```typescript import { Struct, u8, isize } from "https://deno.land/x/byte_type/ffi.ts"; const SampleObject = new Struct({ name: u8, age: isize, }); const ptr = lib.symbols.asd(); const view...
Deno does not cache FFI libraries. Are you using `deno_bindgen`?
Related: https://github.com/denoland/deno_bindgen/issues/57 As a workaround, you can manually clear from the OS cache directory.
@mwcz I agree on disabling cache by default for all local builds (including `--release`). It doesn't really makes sense to cache it :-)
@eliassjogreen maybe the new CLI should be a custom cargo subcommand? https://github.com/rust-lang/cargo/wiki/Third-party-cargo-subcommands I want to avoid distributing native binaries.
`deno doc` doesn't seem to support triple slash directives. [lib.deno_net.unstable.d.ts](https://github.com/denoland/deno/blob/main/extensions/net/lib.deno_net.unstable.d.ts) is referenced using triple slash directives in [lib.deno.unstable.d.ts](https://github.com/denoland/deno/blob/main/cli/dts/lib.deno.unstable.d.ts). Reproduction: ```shell $ deno doc https://raw.githubusercontent.com/denoland/deno/main/cli/dts/lib.deno.unstable.d.ts | grep -i "connect" $ deno...
@MarkTiedemann I don't know why would anyone be so lazy to download the `.zip` and extract it?