News for hackers. Stuff that matters.
Re:Cloudflare Workers: Run JavaScript Service Workers at the... by comex on Friday September 29, 2017 @09:04PM (#15370550)
bindgen’s C++ support is better than it used to be, but still pretty limited, e.g. no support for inline functions, or their moral equivalent, methods defined within a class definition (which most C++ code has a ton of). And even if it works, to quote the documentation:

> using [C++] types in Rust will be nowhere near as nice as using them in C++. You will have to manually call constructors, destructors, overloaded operators, etc yourself.

source: https://github.com/rust-lang-nursery/rust-bindgen/blob/maste...

Re:Cloudflare Workers: Run JavaScript Service Workers at the... by tmccrmck on Friday September 29, 2017 @11:03PM (#15370980)
Thanks. Sometimes I feel like the "just use X" folks don't really think about the problem at hand, not to mention how trivializing it can be. And this is coming from a Rust fan and someone who uses bindgen.