News for hackers. Stuff that matters.
Re:Matt Godbolt sold me on Rust by showing me C++ by tdiff on Wednesday May 07, 2025 @12:32AM (#43912293)
Because cpp is not meant for "rapid prototyping" involving importing half of github with single command. And the reality is that it works.
Re:Matt Godbolt sold me on Rust by showing me C++ by simonask on Wednesday May 07, 2025 @04:09AM (#43913279)
Works for whom?

C++ build systems are notoriously brittle. When porting a project to a new platform, you're never just porting the code, you are also porting your build system. Every single project is bespoke in some way, sometimes because of taste, but most of the time because of necessity.

It works because people spend a huge amount of time to make it work.

Re:Matt Godbolt sold me on Rust by showing me C++ by tubs on Wednesday May 07, 2025 @05:13AM (#43913608)
This seems hyperbolic. At work we cross compile the same code for a decent number of different platform - six different OS (Linux Mac windows and some embedded ones) over 20odd cpu architectures.

It’s the same build system for all of them.

Re:Matt Godbolt sold me on Rust by showing me C++ by tdiff on Wednesday May 07, 2025 @06:42AM (#43914109)
Works for numerous projects which "run the world".

Everyone know the system is brittle, but somehow manage to handle it.

Re:Matt Godbolt sold me on Rust by showing me C++ by affyboi on Wednesday May 07, 2025 @08:36AM (#43914860)
> Works for whom?

FAANG, hedge funds/HFT, game studios

Re:Matt Godbolt sold me on Rust by showing me C++ by pjmlp on Thursday May 08, 2025 @04:10AM (#43924152)
For starters it works for Rust, given that its compiler depends on LLVM, and eventually GCC as well.