Daco Harkes

Results 429 comments of Daco Harkes

From a discussion today: This will not play well with making certain `JObjects` implement certain Dart interfaces. We could not make a `JHashMap implement Map`. With user-transformations we want to...

Some notes from our multiple discussions around this. ### Performance For performant interop, extension types are preferred. The new js-interop uses this. And if we would design `dart:ffi` today, we...

> The point of the viewer object would be to support iteration etc without converting the entire list to Dart. For large lists, converting the list every time you want...

> @jonasfj suggested that `dart pub global activate` should use `dart build exe`. We must do this, otherwise any package using build hooks with code assets will stop working. >...

## Installation structure ### Design I believe our best model is Homebrew and Nix: 1. **Managed Installation Location:** Dart CLI tools would be installed into a dedicated, versioned, and managed...

> We also need to figure out what the migration path would be, people already have the pub cache bin dir on their PATH for globally activated packages, and using...

> Is "file" even the best abstraction? It's not Unix, not everything has to be a file. In the context where we use it, native code compiled to WASM with...

How about using the scoping structure like we do with `Arena` and `using`? ```dart autoReleasePool(() { // Do stuff... }); ```

Did you mean the use of https://pub.dev/packages/leak_tracker in there? I remember having a discussion with @polina-c before about the difference between `Finalizable` and `Disposable` (https://pub.dev/documentation/w_common/latest/disposable/Disposable-class.html) before. E.g. `Disposable`s _must_ have...