How I use D

Cym13 cpicard at purrfect.fr
Mon Jun 29 13:11:45 UTC 2020


On Monday, 29 June 2020 at 12:47:00 UTC, Mathias LANG wrote:
> I'm curious, given your use case, how did you feel about @safe 
> by default ?

As explained in another post (twice actually, my mistake), I 
can't be against it as a security professional because code 
safety has real security consequences. But it would make my life 
harder. How much depends on how it would be implemented.

> If I understand correctly, you're using Linux + DMD ? Have you 
> tried LDC ? It should make those use cases much easier (past 
> the initial getting used to it, but you can just `alias dmd = 
> ldmd2`).

I used dmd, ldc and gdc in that order of frequency, on Linux and 
sometimes Windows. I prefer cross-compiling though, I don't like 
the windows workflow but I think it says more about me than D.

> Have you tried https://github.com/jacob-carlborg/dstep ? Did 
> you encounter any issue ?

I've never had a case where dstep proved useful to me. I 
generally have too much tweaking to make afterward. I stopped 
trying, I either write a few signatures manually or use dpp 
(thanks Atila btw).

> Out of curiosity, if you have used Go extensively, was the 
> solution they came up with (Github URL) good enough for you use 
> case ?

I have used Go just enough to know that it's not for me. The 
github url system introduced more security issues than its worth 
IMHO, but I say that from an external point of view so I won't 
comment any further on the topic.


More information about the Digitalmars-d mailing list