Daco Harkes

Results 417 comments of Daco Harkes
trafficstars

The repo has many files and is not yet in a state where I can open source it. Here is the exact commands that the script runs: ``` Building for...

We realized that there were some issues with the way we introduced the API, so we reverted the API in https://dart-review.googlesource.com/c/sdk/+/349340. We're working on relanding it with a new API...

> What API guarantees does dart:ffi provide? APIs that made it into Dart stable that are not marked experimental are unlikely to be broken. (To my knowledge this API never...

> The API was available for months and we were big users of it. That is rather unfortunate. I'm not sure how it was available for months for you? It...

> 1. Finding Android SDK is done through ANDROID_SDK_ROOT environment variable but there's no guarantee it's set on all systems. Best method will be somehow obtain the config of Flutter...

Cross linking the ffigen issue: * https://github.com/dart-lang/native/issues/539 cc @mannprerak2 any suggestions from thinking about this in the ffigen context?

### Interaction with output format With a mapping from Java type to generated dart binding (both approaches), the API gets tied to whether we chose to generate single file or...

> In such cases, manually refactoring `A` into seperate jnigen config, and linking using some import map is best bet. Agreed. That is the only way that this will work....

Yeah in the context of Java a prefix might make more sense than a regex. 👌

(note to self: USR = Unified Symbol Resolution) We should design a format. What information should be in there? 1. The USIs (Unique Symbol Identifiers) 2. The file in which...