Three articles on D
data pulverizer
data.pulverizer at gmail.com
Sun Jun 7 22:42:34 UTC 2020
I was doing research for my next article and decided to write
three shorter ones in the interim. Two are about basic aspects in
D and one is a small benchmarking exercise of D math functions.
1. Importing modules & scripts in D. It's much more informative
than it sounds especially for beginners, and includes all the
import cases including `mixin(import("script.d"));`
https://github.com/dataPulverizer/ImportingInD/blob/master/README.md
2. Template basics decomposition and value types: Once you've
written your first basic template in D, at some point soon
afterwards you start struggling for how to decompose template
types and articulate the template pattern you want in order to
facilitate template auto-inference by the compiler. That's what
this article helps with:
https://github.com/dataPulverizer/DTemplatesDecompositionAndValueTypes/blob/master/README.md
3. Benchmarking of mathematical functions in D, `std.math`, vs C
in core, vs LLVM in LDC_intrinsic:
https://github.com/dataPulverizer/DMathBench/blob/master/report.md
I look forward to your comments.
Thank you
More information about the Digitalmars-d
mailing list