pathologically simple hotloading

monkyyy crazymonkyyy at gmail.com
Sat Jun 6 00:11:39 UTC 2026


On Friday, 5 June 2026 at 23:46:12 UTC, H. S. Teoh wrote:
> On Fri, Jun 05, 2026 at 08:18:58PM +0000, monkyyy via 
> Digitalmars-d-learn wrote:
>> can anyone imagine any simplifications?
>
> What's the point of iterating the `store` array?

`.countUntil(s)` a stand in for a ct counter(at which point 
should compile out completely); I have not yet written it but I 
should be able to avoid ctfe-gc landmines to produce an 
appendable enum-ish string[]; making "api" constructed ct and 
synced with template memoization

The ct counter is extermely well tested and trusted if I get the 
ct strings working and, critically, communicated correctly to 
loadso. Im slightly unsure about when 
"enum-copy-and-paste-into-executable" is done but I think I have 
a method for that, altho theres some complexity about strings as 
a specail case of value litterals


More information about the Digitalmars-d-learn mailing list