TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ruminations on D: An Interview with Walter Bright

156 点作者 Halienja超过 8 年前

8 条评论

jordigh超过 8 年前
<p><pre><code> We nailed it with arrays (Jan Knepper’s idea), the basic template design, compile-time function execution (CTFE) </code></pre> One of my favourite things about D is that it has a full compile-time D interpreter. You can do &quot;template metaprogramming&quot;, so to speak, in the same language as D itself (it&#x27;s probably a bit more fair to compare it to how lisp macros are &quot;compile-time&quot;).<p>It&#x27;s a bit sad that Rust is getting all of the attention in the spotlight, because D is a great, modern, safe language. If you&#x27;ve only heard about D 15 years ago and never tried it again, give it another look. The current D is really a new language, which was briefly called &quot;D2&quot; for a while.<p>Now, if Symantec could just fix the stupid licence of the reference compiler...<p><a href="https:&#x2F;&#x2F;forum.dlang.org&#x2F;thread&#x2F;lodjbuvdhimrvrdngldy@forum.dlang.org?page=1" rel="nofollow">https:&#x2F;&#x2F;forum.dlang.org&#x2F;thread&#x2F;lodjbuvdhimrvrdngldy@forum.dl...</a>
评论 #12392726 未加载
评论 #12391406 未加载
评论 #12391194 未加载
评论 #12391370 未加载
jbb555超过 8 年前
I took a look again at D this last couple of weeks and it was a way better language than I remembered.<p>It seems like a very solid language. You can write low level C like code if you really want to, but it defaults to safer, higher level code without losing much efficiency.<p>I&#x27;m going to try it out with some bigger projects. I have some issues. Windows support seems a little flakey but it&#x27;s ertainly usable (the default dmd compiler works very well on windows but the code it makes isn&#x27;t the best it could be, and ldc makes much higher quality code, but isn&#x27;t <i>quite</i> stable on windows. (Although it&#x27;s certainly looking good enough to use).<p>I think it&#x27;s well worth a look. I like it a great deal more than Rust
Keyframe超过 8 年前
<i>You were 42 when you started working on D and I guess it is the first language you designed? Talk about why you started working on it so late...</i><p>What kind of question is that? Anders Hejlsberg was what, 39 when he started working on C# and 52 with Typescript? It&#x27;s the same as with screenplays. You start writing when you have experience.
评论 #12392017 未加载
评论 #12392170 未加载
tree_of_item超过 8 年前
I like a lot of things about D, but I don&#x27;t like the fact that it seems stuck in the OOP fad from 15 or so years ago. Go and Rust have both abandoned this whole idea of making &quot;classes&quot; in favor of constructs like structs, enums, traits and interfaces. I wish D had gone this route as well, but other than that it seems like a nice language.
评论 #12391278 未加载
评论 #12392456 未加载
评论 #12394397 未加载
grundprinzip超过 8 年前
What I found interesting is that the two high profile projects mentioned in the post written in D are no longer maintained, which is kind of weird.
评论 #12394625 未加载
评论 #12393167 未加载
vram22超过 8 年前
This video of a panel discussion at a conf was interesting to me:<p>Video: C++, Rust, D and Go: Panel at LangNext &#x27;14:<p><a href="http:&#x2F;&#x2F;jugad2.blogspot.in&#x2F;2016&#x2F;08&#x2F;video-c-rust-d-and-go-panel-at-langnext.html" rel="nofollow">http:&#x2F;&#x2F;jugad2.blogspot.in&#x2F;2016&#x2F;08&#x2F;video-c-rust-d-and-go-pane...</a><p>Key team members or inventors of those languages, speak.
评论 #12391860 未加载
zokier超过 8 年前
Hows the Dlang GC these days? A year ago andralex stated that he was going to work on it[1], but I haven&#x27;t heard of that since.<p>[1] <a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;2g03af&#x2F;ds_garbage_collector_problem&#x2F;ckent8c" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;programming&#x2F;comments&#x2F;2g03af&#x2F;ds_garb...</a>
评论 #12394371 未加载
stirner超过 8 年前
&gt; I don’t worry too much about that. I spend my efforts making D the best language possible, and let the metrics take care of themselves. It’s like being a CEO; he shouldn’t be sweating the stock price, he should be working on making money for the company, then the stock price will take care of itself.<p>I wish this mindset was more prevalent in open source. I find that the best (most well-designed and useful) projects are those that don&#x27;t concern themselves with marketing.