News for hackers. Stuff that matters.
Re:In Defense of C++ by steveklabnik on Wednesday September 17, 2025 @12:56PM (#45278363)
What is "outside the garden" for Rust?
Re:In Defense of C++ by einpoklum on Thursday September 18, 2025 @05:20AM (#45287457)
Oh, say, use some binary C library with some header, that you found on some system.
Re:In Defense of C++ by hiimkeks on Thursday September 18, 2025 @05:55AM (#45287686)
That shouldn't be too tricky, assuming the binary is built for the sort of device you want to run on. At least not much more complicated than calling any other C code, using bindgen.
Re:In Defense of C++ by steveklabnik on Thursday September 18, 2025 @09:13AM (#45289256)
Yep, Rust made design decisions to make this case as zero overhead as it can be.