Re:Rust will likely not support tail call optimization
by ihnorton on Wednesday April 10, 2013 @09:08PM
(#5529289)
Figured as much - it would be hard to take any language seriously without C interop. But that's a long way from "C++ binary compatibility." I've heard this several times, so I was hoping it might be true.
[ Parent
| on HN ]
Re:Rust will likely not support tail call optimization
by kibwen on Wednesday April 10, 2013 @10:43PM
(#5529655)
I've just learned that one of the Samsungers working on Rust has tentative plans to implement C++ interop in the same fashion as D.
http://www.reddit.com/r/rust/comments/1c3clf/c_ffi/c9codm1
In any case, I'm not sure that any official Rust source has ever tried to claim "C++ binary compatibility". Perhaps this language is a result of people misinterpreting the fact that Rust lays out structs in memory in the same fashion as C and C++.