D_vs_nim: git repo to compare features of D vs nim and help migrating code bw them. PRs welcome

Dmitry Olshansky dmitry.olsh at gmail.com
Wed Mar 28 20:50:51 UTC 2018


On Tuesday, 27 March 2018 at 21:49:16 UTC, Walter Bright wrote:
> On 3/27/2018 5:11 AM, Guillaume Piolat wrote:
>> - ability to write file during CTFE is not necessarily 
>> positive. THough I can't tell why from the top of my mind.
>
> The act of compiling a buggy program not influence the global 
> state of the computer. It should not be necessary to vet code 
> downloaded from the internet before even compiling it to ensure 
> it doesn't mess up the system.

The moment there is make or other build tool this is all futile.

>
> CTFE should run in a sandbox. It must be safe to compile code.

I agree but mostly on the grounds of purity and reproducibility. 
It also enables caching and incremental builds.

Safety - not so much.



More information about the Digitalmars-d-announce mailing list