News for hackers. Stuff that matters.
Re:A Guide to Porting C/C++ to Rust by vvanders on Sunday January 29, 2017 @03:21PM (#13516359)
So if I can summarize: If you don't use Rust you won't see the benefits of Rust? ;)

FWIW it's getting pretty common in the Rust ecosystem to wrap 3rd party libs with proper lifetime annotations with opaque types when possible. Things like OpenGL, JNI bindings and whatnot can still benefit from lifetime annotations the compiler provides.

Re:A Guide to Porting C/C++ to Rust by Const-me on Sunday January 29, 2017 @03:44PM (#13516513)
I’d summarize in a different way.

Rust proponents often overestimate practical impart of those C++ safely problems fixed by Rust.

At the same time, they often underestimate or ignore Rust’s problems caused by the same safety thing. The main of which is, it’s hard to implement some widely used data structures in Rust. Here’s my old thread where I discuss the topic in details:

https://news.ycombinator.com/item?id=11977247