I think it would be more useful to extend rust-bindgen to support c++, and work from there. dobkeratops has done some work on this already: https://github.com/dobkeratops/rust-bindgen/tree/cpptemplate
martin On Mon, Jan 6, 2014 at 9:21 AM, Greg <[email protected]> wrote: > Hmm. I don't think that's quite what I'm looking for. I'm not interested in > converting C++ to JS, but C++ to Rust. > > I think the skepticism expressed in other replies is unwarranted. Between > the sort of static analysis that LLVM & Xcode do, along with feedback from a > human developer, something could definitely be done to greatly speed up the > porting of C++ programs to Rust, and I think many people would love to have > that, including the wonderful folks at Mozilla. :-) > > -- > Please do not email me anything that you are not comfortable also sharing > with the NSA. > > On Jan 5, 2014, at 11:07 PM, Tony Arcieri <[email protected]> wrote: > > Just wait until they write RustMonkey for Servo, then you can run your > Emscriptened C++ inside of that > > > On Sun, Jan 5, 2014 at 6:11 PM, Greg <[email protected]> wrote: >> >> I'd happy chip in for a Kickstarter-type project to automatically convert >> C/C++ to Rust. >> >> Anything like this exists or anyone planning on making this type of >> announcement? >> >> - Greg >> >> -- >> Please do not email me anything that you are not comfortable also sharing >> with the NSA. >> >> >> _______________________________________________ >> Rust-dev mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/rust-dev >> > > > > -- > Tony Arcieri > > > > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev > _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
