Game dev people discovering Rust is pure comedy. Tweeting out all the benefits, and I'm like "Yup, all the things you mentioned are also available in C++, and you've been ignoring and criticizing them for years". ¯\_(ツ)_/¯
-
-
Good point, yes, C++ is a behemoth of a language, it can do many things (it's debatable how good it does them, though). Everybody has their own sort of dialect. Maybe we should've looked into formalizing that, instead of inventing a bunch of new languages.
-
And, like the entire history of C++, now you have fancy-new-feature *and* everything you had before. The C++ community will never break the world to gain safety.
-
Yes. How is that a bad thing? I'm wondering what Rust will do. Will it just break/alter your code and tell you to deal with it?
-
When you consider how many years it's been since C++ was created, Rust is more than overdue. It's simply not possible to shoehorn new concepts into an old language without tearing away most of that concept's value. Rust has them deeply embedded into the core language semantics.
-
Rust isn't the first to attempt this, though. Remember D? D did many things right, too! Still never caught on.
-
I wouldn't consider D as an attempt for a number of reasons. It released as a proprietary language with a standard library that required a runtime garbage collector. Different target audience. By the time it somewhat got into shape, Rust was already here, and vastly superior.
End of conversation
New conversation -
-
-
Of course, C++ is the best language in the world... until you have to deal with *someone else's* C++. Then it's the worst language in the world.
-
Someone else's code is always terrible. No matter the language.
-
This is not my experience. I’ve seen good code and bad code written by others. IME the easiest “foreign” codebases are written in Go, because it’s a small and opinionated language. Interpreted languages can be bad, but I’ve seen great Ruby and terrible Go so

-
Go always struck me as interesting, especially due to how opinionated it is. I don't have enough experience in Go, so I believe you. An interesting property to have in a language indeed.
-
I think strict conventions helps prevent 'ugly' code. While ugly Go is possible, I think due to convention, both the writer and the reader have close definition of 'ugly'. In C++, it's often "is this person using a weird convention"?
End of conversation
New conversation -
-
-
Programmers love to start from scratch, rather than to fix something exiting. Programming languages are no exception.
-
C++ really doesn't suffer from a lack of "fixes" though ;) In a sense, Rust is a radical attempt to fix C++.
-
C++ suffers from many things. A lack of fixes isn't one of them.
End of conversation
New conversation -
-
-
I’ve carved out my personal favorite subset of C++ to use. The problem, however, is that not everyone else has a very compatible subset they like, making learning to use libraries often akin to learning a new DSL.
-
What's that subset?
-
Basically C with classes

-
I made this comment mostly thinking about how pytorch was written in a rather different way from how I'd normally do things (aliased shared pointers, often passed by value). Makes sense considering it was designed to be used within python.
End of conversation
New conversation -
-
-
Language features aside, you also get: A package repository/manager, a well-thought out build system, and a toolchain manager that works consistently across platforms.
-
Yes! This! The language aside the ecosystem is just worlds better. Cargo is great, and I never want to think about dlls again for the rest of my life.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.