native icon indicating copy to clipboard operation
native copied to clipboard

Dart packages related to FFI and native assets bundling.

Results 399 native issues
Sort by recently updated
recently updated
newest added

C++ doesn't have a stable ABI, so direct interop isn't possible. Instead you should make a wrapper C API using `extern "C"`. There's a proposal to write a tool to...

package:ffigen

To prepare for the downturn of the YAML API.

package:ffigen

...which is fine if we don't do any tree-shaking for debug builds but it seems that we are doing "some" treeshaking which causes bugs such as https://github.com/dart-lang/http/issues/1838. We should find...

package:jnigen
package:jni

Let's say that we continue exposing the android activity via some method such as `Jni.androidActivity(int engineId)`. As long as we're running this on the main thread, in a synchronous method,...

package:jnigen
package:jni

ways to assess performance: - dart developer timeline events - Linux perf utility for Dart standalone (especially single-threaded/single-isolate performance) to see time spent in both Dart and native code some...

See https://github.com/dart-lang/native/pull/2670#discussion_r2409830494

package:ffigen
package:jnigen

When trying to improve the performance of a library using FFI, it could be useful to get timeline events for all FFI calls. These can be synchronous timeline events. For...

package:ffigen

The current behavior of recording *all* `const` instantiations of an annotated class undermines this workflow. The report generated by `record_use` contains both 1. annotation usages (`@MyAnnotation(...)`), and 2. `const` instantiations...

package:record_use

We'd like to only rerun link hooks when they need to be rerun, and `resources.json`* is an input to link hooks. We can explore a few different options. 1. Always...

P2
package:hooks
package:hooks_runner
package:record_use

`dart test` runs in JIT mode, which means package authors can't use it to test that their link hooks and record-use annotations do the right thing. To make the tests...

package:hooks
package:record_use