I can't tell if D is supposed to be used with or without the GC. I just know Rust is pretty close to an ML, which I like, and it has this nice borrow checker and is super popular.
The language doesn't tell you what to use. You choose what to use.
Ask HN: Why do you use Rust, when D is available?
231–240 of 262 posts
Re: Ask HN: Why do you use Rust, when D is available?
#232Earlier quoted context omitted.
If you are not intimidated by C++, you will be using those features that intimidate others to construct better libraries and programs than they can. Switching to Rust would mean a huge step down, where vast gaps in the feature set disable expressing what has been so easy. There are kludgy workarounds for everything, more or less, but why switch to a limited language with immature tooling and practically nonexistent i…
What architectural level capabilities?
Rust is going interesting places, is taking full advantage of starting from scratch, and is miles ahead of C, Java, and Go on every axis. But if Rust could get to where C++ was in 2011 by 2025, that would be amazing. Meanwhile, C++ has already shipped C++14, C++17, and C++20, will have done C++23, and will be firming up C++26.
Assume Rust could match C++20, just five years later, in 2030, which would be more amazing. C++29 will be out.
Re: Ask HN: Why do you use Rust, when D is available?
#233Re: Ask HN: Why do you use Rust, when D is available?
#234Earlier quoted context omitted.
The only language that one can honestly say that is dying (if not already dead) is VisualBasic. Perl and Delphi are probably going to continue to decline. Objective-C will be obsoleted by Swift some day, but is still relevant. Ruby's not too hot now, but far from dead AFAIK. Other than that it's nonsense to say that X is dying.
C++ is being blamed for allowing people to write buggy, insecure programs. In my mind, that's different to just becoming unpopular; it's dying because it's too dangerous and too complicated. Sure, it'll stick around for some years yet but all those jobs will become maintenance jobs. Very little greenfield projects will elect to use it outside of niche areas (games and maybe embedded - UK salaries for embedded dev are…
Re: Ask HN: Why do you use Rust, when D is available?
#235Earlier quoted context omitted.
So your solution for there being to many languages is for somebody to create one more. And the main thing you want from that language is that it have no corporate sponsorship, such that whoever creates it will have to bear the financial burden personally.
Look no further than Clojure to see that it can be done. And I offer that as a 100% neutral statement.
Re: Ask HN: Why do you use Rust, when D is available?
#236Earlier quoted context omitted.
So goodbye declarative builds.
I thought I cared about declarativeness, turns out I don't.
Re: Ask HN: Why do you use Rust, when D is available?
#237Earlier quoted context omitted.
Because the real world doesn't really match the expectations and statements of the HN community. It's really rare that I see here anything pragmatic regarding what programming languages to learn/use. The community lives in a bubble and is out of touch with mainstream software development.
I'm a very senior engineer. I've had a strong desire to find a better alternative to C++ since the 90s when I was first exposed to it (I worked with it for about a decade, after a few years with C). Now, decades later, enough bandaids have been applied that it's somewhat tolerable. Congratulations...? The industry has needed good alternatives for a long time. Finally, they're coming, and not nearly soon enough to sui…
Re: Ask HN: Why do you use Rust, when D is available?
#238Re: Ask HN: Why do you use Rust, when D is available?
#239I know most people won't like this answer but the reason why rust is more popular now is because it had klabnik-san, mozilla, cargo and the super excited community. The same goes for go-lang. It throws away years of research into programming languages. While rust is a great language and deserve the popularity, do you think go would have peaked in popularity if there weren't rob-pike-san and google behind it. It's not…
Case study: awk. Brian Kernighan, who (co-)wrote the book on C, designed (with two others) another language, awk. Same organization (Bell Labs) pushing it as pushed C. C ate the world. awk... um... was available on all Unix installations, and got used for some things. Sure, there are people who rave about how great awk is. I've read them here on HN. When you've got the right kind of problem, it's a great tool. But th…
Re: Ask HN: Why do you use Rust, when D is available?
#240- no clear direction
- no vision
- no ide
- no big company
- bad or missing documentation