Artifact 30ad29ed4f085e23e1e86899aa51cf57911ba1d8a34f4e02c2aef578a9655cd3:

Wiki page [d notes] by admin 2021-10-30 19:56:06.
D 2021-10-30T19:56:06.682
L d\snotes
P 1ba4b358a4cbaa65f2cb75e3f962940b3f0f4fe10bde4ef65547d8c411c1a2c6
U admin
W 1958
<h2>d notes</h2>

<h3>tooling cookbook</h3>
<ul>
<li>Build [statically-linked binaries] (docker, ldc)</li>
<li><a href="https://forum.dlang.org/post/efqcqlgintbrxltsgcph@forum.dlang.org">Cross-compile to MacOS</a> (docker, ldc)</li>
<li>[D on OpenBSD] (gdc)</li>
</ul>

<h3>d basics</h3>
  *  [string type conversions]

<h3>primitive networking servers series</h3>
<ol>
<li>[hello serial]</li>
<li>[echo serial]</li>
<li>[echo socketset]</li>
<li>[brutish chat]</li>
<li>[classy chat]</li>
<li>[echo serial betterC]</li>
<li>[hello TLS]</li>
<li>[clear-then-TLS chat]</li>
<li>[https://d.minimaltype.com/index.cgi/file?name=net/9/server.d&ci=tip|serial UDP server] with [https://d.minimaltype.com/index.cgi/file?name=net/9/client.d&ci=tip|client]
</ol>

<h3>concurrency series</h3>
  #  [https://d.minimaltype.com/index.cgi/file?name=par/1-spinner/spinner.d&ci=tip|spinner.d]
  #  [https://d.minimaltype.com/index.cgi/file?name=par/2-clockd/server.d&ci=tip|clock TCP server] with [https://d.minimaltype.com/index.cgi/file?name=par/2-clockd/client.d&ci=tip|client]

<h3>d design</h3>
  *  [https://forum.dlang.org/post/mailman.283.1631549561.21945.digitalmars-d-learn@puremagic.com|why can't every operator be overloaded?] (low chaos)
  *  [why does SysTime use hecto-nanoseconds?] (range > precision)
  *  [are AA value pointers invalidated by AA mutation?] (they aren't)

<h3>d gotchas</h3>
  *  [enum arrays] probably aren't what you want
  *  [treating a slice as a stack] is surprisingly expensive
  *  How do you [get the address of a field] if the 'field' might be a property function?
  *  [AA .remove() doesn't destroy a value struct]
  *  [stack variable lifetimes can end before their scope] and get collected mid-function by the GC

<h3>d sites</h3>
  *  [http://dpldocs.info/this-week-in-d/Blog.html|This Week in D]
  *  [https://p0nce.github.io/d-idioms/|Idioms for the D Programming Language]
  *  [https://garden.dlang.io/|D Functional garden]
Z 1e17068e050b016ec11b20dd5e1acbf1