Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Improve Rust's integration with C code #26

Closed
brson opened this issue Sep 24, 2012 · 3 comments
Closed

Improve Rust's integration with C code #26

brson opened this issue Sep 24, 2012 · 3 comments

Comments

@brson
Copy link

brson commented Sep 24, 2012

Rust has an out-of-tree tool called bindgen, used for automatically generating Rust bindings to C code. It is very useful, but could be integrated better with Rust. In particular, there should be ways for the Rust compiler to automatically generate C bindings.

See also: 2124, 1862, 2045, 2805, 2373

@akshayratan
Copy link

What's the status of this project ?

@brson
Copy link
Author

brson commented May 15, 2014

The ultimate goal of this project - to automatically create and build Rust bindings to C code using clang - is still not completed, but also the need for such a tool has not been pressing.

I imagine there is still some desire in the Rust community to pull clang and bindgen into the main repo eventually. There are a few factors that make me think it's no longer the right time to do this project: distributing clang is a big change, and we are in the middle of stabilizing Rust for its first major release; merging a big codebase like clang into another big codebase like Rust is politically difficult, and we would need to get broad community buy-in before starting the project.

Most of the Rust projects in this bug tracker are out of date. You may have better luck finding Rust projects on the main Rust issue tracker - the "interesting-project" tag.

@brson
Copy link
Author

brson commented May 15, 2014

Closing because I think this is no longer a great choice for students wanting to get involved with Rust.

@brson brson closed this as completed May 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants