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
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ironmask
    replied
    Originally posted by sdack View Post
    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.
    The async syntax is considered quite revolutionary and it's inspired many languages to follow it, including JavaScript. I don't understand why people who don't use or follow C# immediately assume it's some sort of evil version of Fortran. Also the transition to .NET Core was extremely intentional as it enables the language to evolve rapidly even if it breaks syntax, which is why it's now getting stuff like everything-not-nullable, etc. Well, I guess you don't know that stuff because you have a short attention span, like we do, right?

    But I'm pretty sure you're a troll judging from your previous comments so I'll digress.

    Leave a comment:


  • carewolf
    replied
    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.
    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.
    Last edited by carewolf; 04 May 2019, 03:50 AM.

    Leave a comment:


  • jacob
    replied
    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.
    I agree that D looks like a dead-end but I think it's mainly because people have moved on mainly to Rust and Swift on one hand, and on higher-level languages like Python and Ruby on the other hand. 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.

    Leave a comment:


  • carewolf
    replied
    Originally posted by jacob View Post
    Nice 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.
    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.

    Leave a comment:


  • jacob
    replied
    Originally posted by sdack View Post
    Do 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).
    No sarcasm intended. It's not about what's old or new. Fortran is being supported, and it should be, simply because old or new, it's still the best language there is for high performance computing. Besides Fortran18 has very little in common with the old F77; it's a modern, structured, high-level language. As for Rust, I don't think anyone can doubt its success. I'm not aware of any project to rewrite Linux kernel parts in it but if someone is doing it (which I doubt given Linus's love affair with C), why not? It's not whether someone is "asking for it". It's open source, which means that no-one has to run around and ask for everyone's permission to endeavour some project. But Mozilla is certainly rewriting parts of Firefox in Rust and it doesn't fall short of expectations. Those parts that have been rewritten so far, that is the CSS parser and Webrender, perform very well; Chrome's advantage is mainly in its faster JavaScript interpreter. GNOME is also rewriting some of its components in Rust, other than that yes, there are a lot of new developments in Rust: Dropbox, Netflix, Microsoft and Google use it internally, in the open source world there is Rav1E, Redox, Alacritty, Piston and others. Rust is certainly no silver bullet, but its promise of unmatched safety and security with no sacrifice in terms of performance is enough to draw many people in, even if it comes at the cost of a very non-intuitive and sometimes strange language. In fact its biggest issue I believe is that it decided to stick with a C-ish syntax, which was IMO a mistake. Its infamously steep learning curve, with the dreaded phase of fighting against the type checker and borrow checker, would be much easier if newcomers were not lured to think that this is another new C++ and write stuff that they believe just should work but doesn't. If the language looked different enough to stress the point that this is something else and you shouldn't expect to use it with the mindset of a C/C++ developer, it would probably be much smoother.

    Leave a comment:


  • sdack
    replied
    Originally posted by jacob View Post
    Why should you be surprised? It's perfectly normal and legitimate to mention them.
    Do 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).
    Last edited by sdack; 03 May 2019, 06:48 PM.

    Leave a comment:


  • jacob
    replied
    Originally posted by sdack View Post
    No, it is. Only for a person with a short attention span may it seem ancient.

    I'm not surprised to now see Rust and C# being mentioned here.
    Why should you be surprised? It's perfectly normal and legitimate to mention them. D's philosophy is to be "C++ done right". Rust proposes to address C++'s issues differently but since both languages ultimately pursue a similar goal, it's only natural to compare them. C# was born as a knee jerk reaction to Java, but is nowadays often used as yet another alternative to C++ and it definitely belongs to the broad family of C++-like languages.

    Leave a comment:


  • jacob
    replied
    Nice 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.

    Leave a comment:


  • sdack
    replied
    Originally posted by brad0 View Post
    You're incredibly stupid.
    No, but you are! You don't know what makes a language old and want to take yourself as the measure. You're like a child who has never heard of old wine and so it believes it's the type of wine, which one has bought last week.

    Leave a comment:


  • brad0
    replied
    Originally posted by sdack View Post
    Is it just this discussion or any discussion in which you take part in?
    You're incredibly stupid.

    Leave a comment:

Working...
X