-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Greetings @youknowone
I fairly recently completed an initial version of icrate over at the objc2 project, and wanted to tell you about it, as you seem to be doing a lot of the same in this project.
The desire with icrate is basically to be your one-stop-shop for all of Apple's frameworks, but importantly, with correct memory management and type-safety.
A few differences between apple-sys:
- The bindings are generated beforehand, so that the user doesn't have to run
clangin their build script, and so that we can support docs.rs - I went with creating the binding generator from scratch instead of using
bindgen, since there were just too many things that would need changing to support (to name two things, multiple architectures in the same repo, and a nice file diff). In any case, the binding generator implementation is an implementation detail, and I actually intend to change it again - I have something similar to
Bindgen.tomlcalledtranslation-config.toml. But for the most part, the intention is that fixes are implemented in normal Rust code, instead of imbedded in that file.
Feel free to ask me any questions if there's something I haven't fully explained!
(I discovered your project a little while ago when researching names for icrate, and didn't really think much of it then, but I see that you are still active here, so I figured I would try to recruit you - or at the very least, get input from you if icrate doesn't suit your needs ;) ).