Originally posted by sdack
View Post
Announcement
Collapse
No announcement yet.
GCC 9.1 Released As Huge Compiler Update With D Language, Zen 2, OpenMP 5, C++2A, C2X
Collapse
X
-
- Likes 2
-
Originally posted by jacob View PostWhy should you be surprised? It's perfectly normal and legitimate to mention them.Last edited by sdack; 03 May 2019, 06:48 PM.
Comment
-
Originally posted by sdack View PostDo I sense some sarcasm there?! You must have noticed that the context these were mentioned in isn't the same as yours. You obviously have an understanding of the languages, which goes beyond just a random date. And yes, C# was a knee jerk, or something that was forced onto customers and just a spin of existing languages but not something ideologically new. And while Rust isn't the political child of a software giant do I have my doubts on its necessity. It seems half the time is Rust only being used to reimplement existing code (... who has asked for Linux kernel components to be rewritten in Rust?!), rather than to create something actually new, or when it's being used for making something new then it falls short on expectations as is the case for Firefox where the competition clearly wins by sticking to C++. So while C# may seem new is it actually old already and won't go further than it has goner so far, or where the politicians allow it to go. Whereas Rust is so squeaking young that we first have to take it a couple times behind the barn and shoot it before there is any chance for it to become old. And then you have Fortran, which on one hand is very old (more precisely are its first implementations very old), and yet still new enough for Nvidia to provide a frontend for it to LLVM. Of course is it not just any Fortran, i.e. Fortran60 or 77, which happens to have a year number to its name, but it is Fortran18 (aka 2018).
Comment
-
Originally posted by jacob View PostNice to see that D gets some support. It's actually a rather nice language in its own way, even though it never had the cool factor of Rust or Go, and with these two around, there seems to be little room for yet another "better-than-C" language at the moment.
- Likes 1
Comment
-
Originally posted by carewolf View Post
It just seems like a dead-end now. Many of the nice things D had when new, C++11 got without compromising other features like D did.
Comment
-
Originally posted by jacob View Post
C++11/17/20 hasn't solved any of C++'s problems, which by design can never be solved. It just made it somewhat easier to work around them.Last edited by carewolf; 04 May 2019, 03:50 AM.
Comment
-
Originally posted by sdack View PostSo while C# may seem new is it actually old already and won't go further than it has goner so far, or where the politicians allow it to go.
But I'm pretty sure you're a troll judging from your previous comments so I'll digress.
Comment
-
Originally posted by carewolf View Post
Seems your problem is not being a good enough C++ programmer. The problem with powertools is not that you can hurt yourself on them and the problem with planes is not that a pilot can fly it into the ground if they steer it downwards.
Code:unique_ptr<foo> bar(foo& f) { return unique_ptr<foo>(&f); } ... auto f = unique_ptr<foo>(new foo()); auto f2 = bar(*f);
The bottom line is that what I'm interested in is code provability and a language like Rust goes a long way, although not completely and not perfectly, towards being able to mathematically PROVE, not claim, that your program's memory management is sound. That's part of what I consider the signature of a Good Programmer, as opposed to a L33t "Real Programmer Who Knows What He's Doing" (but doesn't really).
Don't get me wrong. There ARE valid reasons to select C++. There is a wealth of libraries and frameworks for it that Rust doesn't come even close to. Debugging tools, profilers, benchmarks etc. are way more mature than what is available for Rust. There are many competing C++ compilers, Rust has only one non-toy compiler. C++ can be used on many more CPU architectures and target platforms than Rust. Etc etc etc. But its flaws are real and while you can decide to accept them as a price to pay for some of its other benefits as above, they don't make it a powertool as you say. It's still just a crappy tool that a skilled professional should recognise as such.
- Likes 7
Comment
-
Originally posted by Ironmask View PostBut I'm pretty sure you're a troll judging from your previous comments so I'll digress.
And should I ask?! What actually do you mean by "C# being an evil version of Fortran"?Last edited by sdack; 04 May 2019, 05:53 AM.
Comment
-
Originally posted by carewolf View PostSeems your problem is not being a good enough C++ programmer.
The more complex a programming language is the worse it is to maintain code written in it, because there will always be some who program badly, who use features incorrectly or excessively. This is probably the number one reason why C++ hasn't reached the popularity of C and why people look towards other languages instead. People want to achieve more, while doing less for it.Last edited by sdack; 04 May 2019, 06:28 AM.
- Likes 2
Comment
Comment