News for hackers. Stuff that matters.
Re:Why Perl? by stonogo on Monday June 12, 2023 @12:20PM (#36296022)
If that's what best practices are for these languages, I now better understand my collegues who will not move away from C/C++. Having to identify a specific compiler version for each bit of code sounds like a nightmare.
Re:Why Perl? by zkldi on Monday June 12, 2023 @12:55PM (#36296709)
it's very easy. you make a file called `rust-toolchain` next to your `Cargo.toml` that contains the version of rust you intend this to compile for.

It will then compile for that version.

Re:Why Perl? by bamfly on Monday June 12, 2023 @04:14PM (#36300315)
C and C++ projects of any notably complexity & size often suffer from those exact same kind of "library or build tool or compiler updated—now the project won't build" problems. Absent some pretty heroic & unusual levels of discipline from all involved, anyway (which is also a way to avoid those issues in most other languages that have them).

[EDIT] Check out issue trackers for such projects, some time. "Build broke due to [thing] being too new" is a routine issue to encounter.