News for hackers. Stuff that matters.
Re:Rust and C++ Interoperability in Chrome by Paul-ish on Wednesday August 19, 2020 @09:15PM (#24218852)
Inside both Rust and C++ there are very well developed tools (eg smart pointers) for dealing with memory allocations. These tools were never written to be compatible with each other, so you lose them at the language boundary.
Re:Rust and C++ Interoperability in Chrome by xxpor on Thursday August 20, 2020 @12:26PM (#24224916)
That makes sense. I do 99% C, so any time I even have to think about C++ it unfortunately turns into C with classes rather than C++, so I'm really not as familiar with the smart pointer options.