3 ms·
D doesn't have evangelists or a marketing team. It's just people who find it really useful.
by WalterBright 5y ago
D doesn't have evangelists or a marketing team. It's just people who find it really useful.
- VHRanger 5y ago
- zozbot234 5y agoIs it RESF, or is it Rust's unique feature of memory safety (and data race safety) without GC? D is a nice language to be sure, but it's going to have trouble matching these features. Of course, this is not meant as a criticism of D - other languages like Jai are practically in the same boat. The C++ folks are at least aware of the challenge, as is clear from the C++ Core Guidelines effort.
- WalterBright 5y agoD already has most of the memory safe features of Rust. Of course, the most valuable memory safety feature is array overflow protection, which D has had since its inception. By most valuable, it tops the list of security vulnerabilities in compiled code, year after year. D also has a prototype borrow checker.
- LAC-Tech 5y agoRust definitely has a lot of merits. I was definitely following it, and excited by its release. But you cannot deny the RESF was obnoxious. And pervasive. But ultimately successful - the people who voiced their dislike would get down-voted to oblivion.
- mustache_kimono 5y agoThe anti-Rust stuff was/is pretty tiresome too. FWIW, I think disagreements about the choices Rust made make plenty of sense, or even the disagreements re: its style. But that wasn't what most of the anti-Rust stuff was/is -- it was/is just resentment regarding the hype of a thing, which is just the worst sort of criticism.
- sundarurfriend 5y agoRESF = Rust Evangelism Strike Force apparently, for those not in the know.
- pyjarrett 5y ago> compile times, ugly syntax, ergonomics This is why I write in Ada--it's C++98 with cleaner syntax and a bunch of nice/new features (array bounds, pre/post conditions, etc). It's package-based, so types do not "contain functions", so free functions, member function, who cares, it's all written and callable the same ways. There's even a real module system built in for decades with packages. You have to get over `begin` and `end` though.
- WalterBright 5y ago> You have to get over `begin` and `end` though. Ada would be smart to get rid of that.
- pyjarrett 5y agoIt's probably not removable after almost 40 years. It has expression functions which you can wrap a return result in () and avoid it. The important part is that it's surprisingly consistent in that 3 of the 4 structural elements are nearly all self-similar in their declare/begin/end format (protected type being the 4th and the difference).
- WalterBright 5y agoActually, I liked Ada since I read the Milspec on it back in 1981 or so. It had its positive influence on D!
- GoblinSlayer 5y agoI heard they work on a curly brace variant of ada.
- mustache_kimono 5y agoSomeone else made a really good point about hype today: 'One of the dumbest lessons I’ve learned in my career is that you should never disregard something that has hype behind it, even if you don’t think the tech makes sense. [0] Most “tech adoption” problems are really human coordination problems. Hype solves those. It doesn’t matter if you have a better solution, or that you think the proposed solution is stupid. [1]' [0]: https://twitter.com/matthew_d_green/status/1480974268875874310 https://twitter.com/matthew_d_green/status/14809742688758743... [1]: https://twitter.com/matthew_d_green/status/1480974783181434887 https://twitter.com/matthew_d_green/status/14809747831814348...
- usefulcat 5y ago> you should never disregard something that has hype behind it Do you have an opinion on how this sentiment applies to blockchain tech? I’m not trolling, I think the sentiment is interesting and blockchain tech seems obviously relevant to that sentiment.
- mustache_kimono 5y agoYou should check out the tweet linked above. Matthew Green is talking about NFTs.
- jancsika 5y ago> rust evangelism strike force I see we've got an n-gate.com reader here. :)
- deleted 5y ago[deleted]