News for hackers. Stuff that matters.
Re:Matt Godbolt sold me on Rust by showing me C++ by TinkersW on Wednesday May 07, 2025 @04:56AM (#43913524)
Dunno about this, the example C++ code is so obviously bad that I had no desire to watch the video.

Creating strong types for currency seems like common sense, and isn't hard to do. Even the Rust code shouldn't be using basic types.

Re:Matt Godbolt sold me on Rust by showing me C++ by jk3000 on Wednesday May 07, 2025 @05:49AM (#43913785)
Somehow this is the pattern when comparing C++ to Rust: write outrageously bad C++ in the first place, then complain about it.