from Hacker News

Rust and C++ with Steve Klabnik and Herb Sutter [audio]

by mcqueenjordan on 10/31/24, 8:12 AM with 55 comments

  • by tialaramex on 10/31/24, 9:55 AM

    Steve is too modest about the tests by the way. Lots of the conformance testing for Rust's compiler happens automatically. Herb mentions Perennial https://www.peren.com/ and Plum Hall https://plumhall.com/ for C++ and Steve says "I'm not saying that functions as a conformance test suite" when it comes to Rust's own compiler tests. But, while the Rust project itself does not perform conformance testing, Ferrous Systems does and so yeah, analogous conformance test suites exist and are run automatically.

    So when Herb says "And in Rust's case, that's going to need to be built out" if the interview was taking place five years ago that's an important point. But it wasn't five years ago, it was only a few weeks ago.

  • by mcqueenjordan on 10/31/24, 8:43 AM

  • by joaquincabezas on 10/31/24, 10:55 AM

    I've been a long time considering that I should learn Rust. I am using Python as main language (for Machine Learning tasks) so I am at the edge:

    Go with:

    C++, because I used to code in C (for embedded, 8-bit microcontrollers) when I was younger and also for its possible advantage for learning some CUDA (this last thing is mostly for fun)

    or

    Rust, because I have some trauma for kernel panics with bad memory management back in the days with C, and because I want to build some tooling in a nice, efficient way

  • by diimdeep on 10/31/24, 10:25 AM

    Be aware that this is Microsoft/FAANG camp echo chamberly discussion lacking self criticism, very shallow and "safe" (pun intended) chain of though that sums up to basically here we are maintaining stuff for Microsoft, only mentioning c++ and rust, C# and Carbon.

    In similar vein, just so happens that yesterday I listened to discussion to folks outside of bigtech camp and it was much more insightful and introspective, although it is with creator of Zig and Odin language themselves instead of mere evangelists and methodologist book sellers. "Boundaries of Language Design" with Andrew Kelley & Ginger Bill [1] https://www.youtube.com/watch?v=3K8znjWN_Ig

  • by wild_pointer on 10/31/24, 10:36 AM

    Expected a safety fight. The talk didn't deliver :(
  • by shikaan on 10/31/24, 10:46 AM

    I feel this podcast was the first time Rust was sold to me in a way I would buy it, and it was done by the C++ party of this conversation