@@ -201,21 +201,26 @@ $(ITEM q3, Why emphasize implementation ease?)
201
201
202
202
$(ITEM q4, Why is printf in D?)
203
203
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
205
206
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.
208
211
)
209
212
210
213
211
214
$(ITEM q5, Will D be open source?)
212
215
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.
219
224
)
220
225
221
226
$(ITEM q6, Why $(I no) fall through on switch statements?)
@@ -241,14 +246,15 @@ $(ITEM q6, Why $(I no) fall through on switch statements?)
241
246
242
247
$(ITEM q7, Why should I use D instead of Java?)
243
248
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
+ )
247
252
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
249
254
efficient native system apps. Although D and Java share the notion that
250
- garbage collection is good and multiple inheritance is bad <g> , their
255
+ garbage collection is good and multiple inheritance is bad, their
251
256
different design goals mean the languages have very different feels.
257
+ )
252
258
253
259
$(ITEM q7_2, Doesn't C++ support strings, etc. with STL?)
254
260
@@ -258,8 +264,8 @@ $(ITEM q7_2, Doesn't C++ support strings, etc. with STL?)
258
264
)
259
265
260
266
$(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).
263
269
Isn't it incongruous that something like strings,
264
270
supported by the simplest BASIC interpreter, requires a very
265
271
large and complicated infrastructure to support?
0 commit comments