Skip to content

Commit 89f62c1

Browse files
committed
add links, update license explanation
1 parent ba5c280 commit 89f62c1

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

faq.dd

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -201,21 +201,26 @@ $(ITEM q3, Why emphasize implementation ease?)
201201

202202
$(ITEM q4, Why is printf in D?)
203203

204-
$(P $(B printf) is not part of D, it is part of C's standard
204+
$(P $(LINK2 http://www.digitalmars.com/rtl/stdio.html#printf, printf)
205+
is not part of D, it is part of C's standard
205206
runtime library which is accessible from D.
206-
D's standard runtime library has $(B std.stdio.writefln),
207-
which is as powerful as $(B printf) but is much easier to use.
207+
D's standard runtime library has
208+
$(LINK2 http://www.d-programming-language.org/phobos/std_stdio.html#writefln, std.stdio.writefln),
209+
which is as powerful as $(LINK2 http://www.digitalmars.com/rtl/stdio.html#printf, printf)
210+
but is much easier to use.
208211
)
209212

210213

211214
$(ITEM q5, Will D be open source?)
212215

213-
$(P The front end for D is open source, and the source comes with the
214-
$(LINK2 http://www.digitalmars.com/d/download.html, compiler).
215-
The runtime library is completely open source.
216-
David Friedman has integrated the
217-
$(LINK2 http://home.earthlink.net/~dvdfrdmn/d, D frontend with GCC)
218-
to create $(B gdc), a completely open source implementation of D.
216+
$(P The front end for the $(B dmd) D compiler is open source, and the complete
217+
source comes with the
218+
$(LINK2 http://www.digitalmars.com/d/download.html, compiler),
219+
and is available on $(LINK2 https://github.com/D-Programming-Language/dmd, github).
220+
The back end for dmd is licensed from Symantec.
221+
The runtime library is completely open source using the
222+
$(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0).
223+
The $(B gdc) and $(B ldc) D compilers are completely open sourced.
219224
)
220225

221226
$(ITEM q6, Why $(I no) fall through on switch statements?)
@@ -241,14 +246,15 @@ $(ITEM q6, Why $(I no) fall through on switch statements?)
241246

242247
$(ITEM q7, Why should I use D instead of Java?)
243248

244-
D is distinct from Java in purpose, philosophy and reality.
245-
See this <a href="comparison.html">comparison</a>.
246-
<p>
249+
$(P D is distinct from Java in purpose, philosophy and reality.
250+
See this $(LINK2 comparison.html, comparison).
251+
)
247252

248-
Java is designed to be write once, run everywhere. D is designed for writing
253+
$(P Java is designed to be write once, run everywhere. D is designed for writing
249254
efficient native system apps. Although D and Java share the notion that
250-
garbage collection is good and multiple inheritance is bad &lt;g&gt;, their
255+
garbage collection is good and multiple inheritance is bad, their
251256
different design goals mean the languages have very different feels.
257+
)
252258

253259
$(ITEM q7_2, Doesn't C++ support strings, etc. with STL?)
254260

@@ -258,8 +264,8 @@ $(ITEM q7_2, Doesn't C++ support strings, etc. with STL?)
258264
)
259265

260266
$(P Sure, all this stuff can be done with libraries,
261-
following certain coding disciplines, etc. But you can also do
262-
object oriented programming in C (I've seen it done).
267+
following certain coding disciplines, etc. But
268+
object oriented programming can also be done in C (it's been done).
263269
Isn't it incongruous that something like strings,
264270
supported by the simplest BASIC interpreter, requires a very
265271
large and complicated infrastructure to support?

0 commit comments

Comments
 (0)