Originally posted by discordian
View Post
Announcement
Collapse
No announcement yet.
Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++
Collapse
X
-
- Likes 7
-
Originally posted by c117152 View PostLooking at the syntax changes shown in the samples over at the github, Carbon seems more appropriate to C devs that want to add compiled classes and generics to their code-base without bringing over the whole C++ freak show.
- Likes 6
Comment
-
Originally posted by Ironmask View Post
You can disable Rust's borrow checker and that's how most of Rust's internals and FFI operate.
Seems like a great effort of duplicated technology to make a whole new language because you can't find the off switch.
- Likes 4
Comment
-
Originally posted by cynic View Post
what? Go is absolutely not failed. On the contrary, it is gaining a lot of traction.
Also, Go is not a C++ replacement as Carbon is meant to be.
They're two different languages with two completely different purpouses.
- Likes 7
Comment
-
Originally posted by bison View PostConcurrency.
I don't think concurrency is that uncommon ... even with C or C++ - even though not natively.
So that's the reason everyone uses Go right now ...
Comment
-
Originally posted by Ironmask View Post
It's kind of funny everyone names Rust-adjacent stuff after various forms of metal and oxidation, but Rust is actually named after a fungus (the creator really like fungi).
- Likes 16
Comment
-
C: I do things
C++: I do 100x more things
C++11: I do more things and more modern but also the old things
C++14: I do more more things and more modern but also the old things
C++17: I do more more more things and more modern but also the old things
C++20: I do more more more more things and more modern but also the old things
Dlang: I clean up C++'s mess
Rust: I clean up C++'s mess
X, Y and Z: We clean up C++'s mess
Dlang, Rust, X, Y and Z: "why aren't the C++ people leaving their beyond bloated language for us?!"
Carbon: "it's because you didn't clean up C++'s mess enough, let me clean it"
C++ is lost to mankind.
- Likes 8
Comment
-
Originally posted by Mahboi View PostC: I do things
C++: I do 100x more things
C++11: I do more things and more modern but also the old things
C++14: I do more more things and more modern but also the old things
C++17: I do more more more things and more modern but also the old things
C++20: I do more more more more things and more modern but also the old things
Dlang: I clean up C++'s mess
Rust: I clean up C++'s mess
X, Y and Z: We clean up C++'s mess
Dlang, Rust, X, Y and Z: "why aren't the C++ people leaving their beyond bloated language for us?!"
Carbon: "it's because you didn't clean up C++'s mess enough, let me clean it"
C++ is lost to mankind.
I don't know why people still keep lumping Rust in with the rest of the run-of-the-mill Better C++(TM) languages, Rust is so widely adopted it's getting into Linux. Like I feel like people overlook that for some reason.
The simple fact of the matter is that C++ can't be cleaned up, we need a clean break. A "bandaid language" like this doesn't make sense to me, many C++ projects, including Google's Chromium, are incorporating Rust by finding ways to interop it with C++. Carbon makes no sense, it has a niche application of being a "bandaid" over C++, if you're going to extend your C++ codebase with another language, or rewrite any of your C++ in another language, then it may as well be Rust anyway. They should just keep working on ways to bridge Rust and C++, like they've been doing in Chromium, and work with Rust to try and stabilize it's ABI.
Or we could also just come to terms with the fact that C++ is the new COBOL and if you want to maintain a C++ project then you're now considered a special and valuable individual for knowing this language that only governments use. We're not at that point yet, but we're rapidly approaching it.
- Likes 10
Comment
Comment