cpp-to-rust-book icon indicating copy to clipboard operation
cpp-to-rust-book copied to clipboard

Results 7 cpp-to-rust-book issues
Sort by recently updated
recently updated
newest added

https://github.com/locka99/cpp-to-rust-book/blob/master/12_memory_management/index.md?plain=1#L77 provides Rust example with a heap allocation, but it has a [caveat](https://github.com/rust-lang/rust/issues/53827).

Deployed to gh actions

- [`cxx-rs`](https://github.com/dtolnay/cxx) This library provides a safe mechanism for calling C++ code from Rust and Rust code from C++. - [`safer_ffi`](https://github.com/getditto/safer_ffi)  is a framework that helps you write foreign function...

As far as I understand, array allocation on the stack occurs anyway

Hi, I am enjoying your book, and I would like to see more in the section C++ compared with Rust (how Rust helps). Can you elaborate on multithreading (pthreads and...

Equating `char` to `i8` is wrong in two ways: Its signedness as well as its size are unspecified in the C and C++ standards. According to [an answer on Stack...

Hello. The following link is wrong: Type "curl https://sh.rust.rs -sSf | sh" I believe it should be Type "curl https://sh.rustup.rs -sSf | sh" Best regards, Jeb