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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Pragmatic D Tutorial

94 点作者 andralex超过 11 年前

5 条评论

breckinloggins超过 11 年前
It&#x27;s great to see this.<p>The D front page doesn&#x27;t really do a good job of giving you a feel for the language. Even worse, the important-looking &quot;D Book&quot; link is actually just a teaser to buy the product.<p>To see what I&#x27;m talking about with &quot;fresh eyes&quot;, imagine that today you overheard your coworkers talking about two great new languages: one called &quot;D&quot; and another called &quot;Elixir&quot;. You decide you want to learn a new language but you only have time to learn one.<p>First you visit <a href="http://dlang.org/" rel="nofollow">http:&#x2F;&#x2F;dlang.org&#x2F;</a> and then you visit <a href="http://elixir-lang.org/" rel="nofollow">http:&#x2F;&#x2F;elixir-lang.org&#x2F;</a>. Staying within a small &quot;link radius&quot; of the main page, which one are you more likely to get a feel for and get excited about?<p>My guess is Elixir, and I have no dog in this fight whatsoever.
评论 #6548952 未加载
shared4you超过 11 年前
I got interested in D, so I borrowed Andrei&#x27;s book from the library. The talk is that the publication of TDPL marked the stabilization of D version 2. I tried out the examples in the first few pages of that book. An example in Chapter 1 itself didn&#x27;t compile (page 8). Well, is that what you call a stable language? I don&#x27;t want to waste time when the API is still changing so much. I thought, I&#x27;ll come back may be for D version 3.<p>[edit] Oh BTW, the Pragmatic D tutorial is awesome. Thanks for sharing.
评论 #6551678 未加载
agrona超过 11 年前
Is there some way I can submit corrections? I&#x27;ve found a few typos&#x2F;grammar mistakes on the first few pages, but can&#x27;t seem to find any contact information.
评论 #6549553 未加载
评论 #6549809 未加载
tonyplee超过 11 年前
What are the most complex programs&#x2F;projects that are written in D?<p>Has anyone tried to port any of real world open source projects such: Nginx, Apache, make, VLC, VNC, XBMC, eclipse, wireshark, etc into D and write up the +&#x2F;- of those project in C&#x2F;C++, etc v.s. &quot;D&quot;?
评论 #6552655 未加载
picomancer超过 11 年前
For those who missed it, a recent HN headline: &quot;Facebook using D in production starting today&quot; [1]. I&#x27;m pretty sure it made the front page.<p>I&#x27;m planning to put type inference in a new programming language I&#x27;m creating [2], so I looked up the Wikipedia article on type inference [3]. So the parent headline is the third mention of D I&#x27;ve run across this week!<p>[1] <a href="https://news.ycombinator.com/item?id=6532322" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=6532322</a><p>[2] <a href="http://picomancer.com/blog/foil-compiler-tech-preview/" rel="nofollow">http:&#x2F;&#x2F;picomancer.com&#x2F;blog&#x2F;foil-compiler-tech-preview&#x2F;</a><p>[3] <a href="http://en.wikipedia.org/wiki/Type_inference" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Type_inference</a>