Mario Ortiz Manero
Mario Ortiz Manero
Here's an update about the status of this PR. I have concluded my work with Tremor, so I won't be able to continue working on it. For now, the PR...
Hmmm, not super happy with my patch or yours. You *can* load plugins dynamically just by using `#[repr(C)]`. `abi_stable` just makes it easier, safer, and more backward-compatible.
So you're basically implementing closures manually so that they're FFI-safe? I think the only way to do this would be with a proc macro, right? Specially because we'd need variadic...
I already worked on this myself, it's just that it hasn't been upstreamed yet: https://github.com/oxalica/async-ffi/pull/10. But it should work perfectly. Anyway, it would be nice to have official support, or...
Update: stable_abi support has been merged into master and will most likely be available in its next version.
I would love to see this change! I'm currently working on improving the performance of my plugin system and every bit helps.
Very interesting! I would still leave this open, since it would be a great idea in case someone has the time to do it. Though it would indeed be quite...
> I haven't implemented Cow yet, and it's not a priority for me, since I'm implementing things in the order that I need them in another project. When I get...
Nice! Yeah, different design, but I think you don't have the invariance issues with it. [Our design ended up being quite similar](https://github.com/rodrimati1992/abi_stable_crates/blob/0_11/abi_stable/src/std_types/cow.rs#L115), but I would say ours is a bit...
> macro does not mean you don't need to import. proc macro only transforms AST. > > I guess you are saying that the macro is importing it for you....