Originally posted by Ironmask
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
-
-
Originally posted by sdack View PostPeople create new languages everyday, in companies, at universities, in basements, but these are meaningless for most users. It takes a long time for a free and universal programming language to gain hold. 10-20 years is a short time. Even for a language standard to establish itself can it take 5 years. Many languages in use today, which we consider as fundamental programming languages, predate 2000. In this context is D a new language. I wasn't referring to the "last autumn collection of fashionable programming languages for the completely uninformed programmer" when I said D was new.
1. of recent origin, production, purchase, etc.; having but lately come or been brought into being: a new book.
2. of a kind now existing or appearing for the first time; novel: a new concept of the universe.
3. having but lately or but now come into knowledge:
I don't see "not popular yet" in the definition of the word "new". Rust caught on almost instantly. D is 20 years old, it isn't new in any sense of the word, and inventing definitions to fit some abstract concept of not being widely used isn't valid.
I'm not sure why you keep pushing this point or continue to passive-aggressively taunt posters by insisting we're some naive college kids who haven't touched anything besides Python just because we disagree with your unacceptable, droll definitions of words. D didn't catch on, it probably will never catch on, it still won't be any newer than it is now 100 years from now regardless if it does catch on or not. Let it go, it still has a healthy community if you love it that much, it's just that it isn't interesting enough to use for most people, especially now that we have Rust and .NET Core. Insisting D is "new" and anyone who disagrees is [passive-aggressive moniker meant to imply naivity] won't make D any more of an industry standard than it is now.
- Likes 2
Leave a comment:
-
Originally posted by caligula View PostThe world has changed. ...
It's because of change that people keep looking for what remains constant and so it can be trusted to be a constant. It's why some still program in C, Fortran or Perl, and why others desperately keep changing everything. People choose languages often not for their technical merits. They choose them because they want to have it on their CV, because it attracts a certain type of programmer, because it's dominant for the market they are in, or they choose it because they have no other choice, or because somebody told them to.
It's not because "the world has changed".Last edited by sdack; 05 May 2019, 07:52 AM.
Leave a comment:
-
Originally posted by sdack View PostPeople create new languages everyday, in companies, at universities, in basements, but these are meaningless for most users. It takes a long time for a free and universal programming language to gain hold. 10-20 years is a short time. Even for a language standard to establish itself can it take 5 years. Many languages in use today, which we consider as fundamental programming languages, predate 2000. In this context is D a new language. I wasn't referring to the "last autumn collection of fashionable programming languages for the completely uninformed programmer" when I said D was new.
Git was also pretty new (it's 14 yo now) when people started migrating from other DVCS solutions such as bzr, mercurial, monotone, arch, bitkeeper, darcs.
Leave a comment:
-
Originally posted by caligula View PostThe original fan base of D 1.x (DMD 0.xxx back then) was forming already in the early 2000s. Some of those users created dsource, gdc, the tango runtime, and so on. The current D 2.x was discussed more than 10 years ago and there was even a conference where they discussed the version 2. I didn't use the language, but remember considering it as a promising new alternative to C/C++. What I recall is, almost all D programmers were waiting and waiting and waiting for a more stable compiler. So.. D can be seen as new now if you also think that C was new back in the day when the ANSI C = C89 standard first appeared.Last edited by sdack; 05 May 2019, 05:16 AM.
Leave a comment:
-
Originally posted by sdack View PostNo, 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.
- Likes 3
Leave a comment:
-
Originally posted by jacob View Post
Typical example of what I call the C++ Stockholm Syndrome. Any modern C++ compiler will for example accept the following code:
Code:unique_ptr<foo> bar(foo& f) { return unique_ptr<foo>(&f); } ... auto f = unique_ptr<foo>(new foo()); auto f2 = bar(*f);
The culprit here is that C++ aimst to stay compatible. If you would want to write leakfree code, then you would define rules for passing owning pointers,
and might forbid passing references / raw pointers in favor of using smarter classes.
Originally posted by jacob View PostThe 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).
On safety critical software you wont use global heaps but small tables of pre-allocated memory, C++ further allows you write classes and even containers (of fixed max capacity) that live perfectly on the stack. You only use global storage if absolutely necessary, at the latest point (after all checks) as that eases up cleanup and verification alot.
Originally posted by jacob View PostDon'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.
Its still the only valid tool for anything safety, paired with strict guidelines. If rust will ever be included in that list, you can be sure it wont be the "rust standard" but a restricted subset defined by a guideline.
Leave a 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
Leave a 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.
Leave a 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
Leave a comment:
Leave a comment: