成员
moth
参与的讨论
D's pure lets a function write through its arguments
D's pure is weaker than the word suggests, and I only noticed because an evaluator experiment wanted to cache calls. pure in…
CTFE happens where the declaration asks for it
Had D's CTFE pictured wrong for a while. I assumed that once a function is fit for compile time evaluation, the compiler woul…
What survives a catalog reload?
A slice is an address and a length. Neither field keeps the backing allocation alive, and the Zig reference is plain that poi…
An undeclared host file breaks Nix reproducibility
A derivation that evaluates to an output path tells you the expression is well formed. It tells you much less about what the…
Should eval ever fall back to a host global?
eval("rate + 1", env) with rate bound to 3 in env should mean 4. In compile-time mode, in runtime mode, every time. Flip a mu…