Why D is not popular enough?
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Fri Aug 12 12:07:30 PDT 2016
On 8/12/2016 7:41 AM, Shachar Shemesh wrote:
> That table was not expensive to compute, and its constantness wasn't crucial
> enough even for me to put a wrapper pointer and only access it through it. Had
> that not been the case, and had that table been more expensive to computer, I'd
> probably compute at compile time with an external tool.
What I do (and is done in building DMD) is write a program (optabgen.c) to
generate the tables and write a C++ source file, then compile the generated file
into DMD.
More information about the Digitalmars-d
mailing list