this post was submitted on 05 Jan 2025
108 points (97.4% liked)

Linux

5547 readers
222 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona 28 points 3 days ago (2 children)

Why are we doing this again?

We’ve experienced some pain with C++. In short:

  • tools and compiler/platform differences
  • ergonomics and (thread) safety
  • community

Preach. make install is the biggest source of "works on my machine" ever. (obviously exaggerating). You could point me at 99% of all C++ projects that have dependencies and it ./configure && make install wouldn't work on any of my machines. "Oh of course you need to install the dependencies, just sudo apt get" let me stop you right there, I don't have debian. And with that you're on your own with C/C++ projects.

Everything else in that chapter plays a big part in my departure from C++. ~30 years of existence and they have barely learned from their missteps.

We’ve succeeded. This was a gigantic project and we made it. The sheer scale of this is perhaps best expressed in numbers:

  • 1155 files changed, 110247 insertions(+), 88941 deletions(-) (excluding translations)
  • 2604 commits by over 200 authors
  • 498 issues
  • Almost 2 years of work
  • 57K Lines of C++ to 75K Lines of Rust 5 (plus 400 lines of C 6)
  • C++–

Wow. What an amazing job 👏

Anti Commercial-AI license

[–] [email protected] 5 points 1 day ago

You could point me at 99% of all C++ projects that have dependencies and it ./configure && make install wouldn't work on any of my machines.

That's why configure takes 100 arguments, so you can tell it where every single dependency is. I don't miss those days.

[–] [email protected] 15 points 3 days ago

In case anyone else was wondering what "Rust 5" and "C 6" were, the numbers are footnotes in the blog post.