Daco Harkes
Daco Harkes
❤️ For a very clear PR description! 🙏 High level sgtm to tracking block subtyping with a signature in the type argument. (We do the same with `Pointer` to `NativeFunction`.)...
> > Should we worry about different int-sizes in blocks though? > > Oh, yeah, `ObjCBlockBase`'s type arg should probably use the FFI types, not the Dart types. If you...
One of the challenges here is that the embedder renames/repackages dylibs. So relying on the C/C++ dynamic loader with a fixed `char*` name doesn't work well. (I presume this is...
Thanks @blaugold! Where on https://github.com/cbl-dart/cbl-dart/ is `cblitedart` loading `libcblite.3.dylib`? Is it a `dlopen` in C/C++ (dynamic loading)? Or is it a reference to a symbol and the C dynamic linker...
I think conceptually what we have to do is: not only update the install_path with the `install_name_tool`, but also all the paths that the dynamic linker will look at. Probably...
> @dcharkes I've created a PR: [flutter/flutter#153054](https://github.com/flutter/flutter/pull/153054). Let me know what you think. Awesome! While reviewing I had some more thoughts on how to have dynamic dependencies more usable, documented...
> > (Feel free to leave these TODOs open.) > > 👍 I'll try and find some time to work on those. > > While updating the integration tests in...
Thanks for this very detailed write-up @blaugold! ❤️ > As an aside w.r.t. #1425, in Dart tests and scripts, libraries built by other hooks, would be difficult to use because...
> > > For Linux and Android, add -rpath=$ORIGIN/. to linking libraries (or just all libraries?). > > > > > > This also depends on the directory layout of...
> With these link options, the layout in build hook output directory does not matter if we standardize on copying all native code assets to a single directory. Standardize on...