Artifact a6a124acc99764af91e887517732359b0e7bfb8397b307946394b23d6de8568f:

Wiki page [d notes] by admin 2021-10-07 06:44:32.
D 2021-10-07T06:44:32.728
L d\snotes
P 0676f757bd7d3718f2cf0709dd58699ca58fae8803d752491cd8cda663d6a9f6
U admin
W 1576
<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>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)

<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 7475656eb6396e627bbbb81252c037cc