D 2021-10-30T11:27:44.276 L d\snotes P a6a124acc99764af91e887517732359b0e7bfb8397b307946394b23d6de8568f U admin W 1647

d notes

tooling cookbook

d basics

* [string type conversions]

primitive networking servers series

  1. [hello serial]
  2. [echo serial]
  3. [echo socketset]
  4. [brutish chat]
  5. [classy chat]
  6. [echo serial betterC]
  7. [hello TLS]
  8. [clear-then-TLS chat]
  9. [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]

d design

* [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)

d gotchas

* [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

d sites

* [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 97c4ce2e3fb2ba0d4a17d6722a464f60